Any help would be appreciated.
I need to click or tap on Go/Done button on android s3 device which running 4.3 version
I tried all sorts of option
driver.pressKeyEvent(66) or
driver.pressKeyEvent(AndroidKeyCode.ENTER)
Driver.sendKeyEvent(66)
driver.execute("mobile:keyevent", "keycode:66");
I manage to click on all keys except enter button
Enviroments
Appium version - 1.4.13
Java 1.7
appium depen- 3.2.0
try this:
((AndroidDriver) driver).sendKeyEvent(AndroidKeyCode.ENTER);
Related
I have started appium server programmatically (using appium service builder)
now I need appium inspector to inspect elements.
Is there any way to start inspector programmatically or I need to remove my code and use the appium desktop application for server session and inspect elements.
Thanks in advance
If the device is attached to the same host as that of appium server, use uiautomatorviewer under Android SDK to inspect the elements in Android.
For iOS, it is recommended to use Appium Desktop version itself.
Appium inspector is separated from appium server build. You will get separate installation file for appium inspector. You can start it independent of the appium server. Try with the latest version.
protractor version : 5.0.1
safari version : 11
Mac version : 10.13
selenium version : 3.0.1
Error message: safaridriver could not launch because it is not configured
I have enabled the safari driver using the command --enable but still it is not launching the browser
Any possible solutions for the issue ?
A lot of times, it's because the developer option to allow remote automation isn't clicked. In safari, you can access this by clicking 'preferences' -> advanced. At the bottom it says 'show Developer Menu in Menu Bar.' Click that. Then in the newly appeared develop tab click on 'Allow Remote Automate' towards the bottom of the list. If this doesn't run it, post your code and we can take a more thorough look.
I am having problem after I updated my sdk via intellij updates. my sdk resides in D:/sdk, now after updating when I launch the AVD and click triangular green button to lunch the emulator. Nothing happens no emulator is launching I don't know why.
It probably has something to do with virtualization.
Check if virtualization is enabled in the BIOS setting of your machine. And if you're working on Windows make sure "Hyper-V" options are disabled in "Windows Features".
As you see,when I open dev tool in chrome,It will soon turn into this red screen.If I do not open dev mode,it works, and console.log can log infomations in Xcode console.(this way is not use Xcode)
just open localhost:8081/debugger-ui and press Cmd+R in simulator, or dismiss this error, open developer menu in App and disable "Debug in Chrome" option
try to update your react-native version to more stable version may be 0.35 or 0.38.
this basically happens when react-native is not able to load the bundles into developer tool.
Nexus 5X, Nexus 6P and Android 6.0.1 offer a shortcut to launch the camera by pressing twice on the device power button.
There is a way to disable this shortcut manually in:
Settings
Display
Switch off the "Press power button twice for camera" option.
Is there a way to disable this service programmatically?
In Android 7.1, this feature is located under "Moves (Quick gestures to control your phone)" in Settings.