-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver.navigate.back isn't as reliable as clicking with the mouse button. #67
Comments
The back is implemented simple by sending a F1 which is hot key for emulator's I guess you are using Windows 10 emulators, because Also, could you clarify the bit about use of sleep. Did you have the following setup:
Note that 'go back' is not a synchronous command, i.e. it will issue I think there is a |
Hey Tim, This is strange, the driver should not be able to click outside virtual screen, even on XDE window. Maybe Windows 8.1 does has onscreen back button, but it is out of bounds. P.S. to record screen on test runs on Windows I used VLC with remote interface. It woks quite good, although it is separate process and one has to wait to finish flushing the video to file before killing it, there is no event for this. Also, XDE streams emulator screen from Hyper-V using RDP, but when you connect to it from Hyper-V management, the XDE disconnects form emulator. But maybe it is possible to somehow connect to same session, as desktop Windows 8 and Windows Server 2012 support such features. |
It's going to be hard to come up with an example for this because even on our tests it's about a 3% incident, but I've recently replaced our use of the official 'go back' with a mouse.move_by(20, screen_height+20), mouse.click, and it seems to work better for a number of occasions where I previously had a second or two sleep followed by the click, followed by another second's sleep.
I'm guessing you'll probably tell me that the official back is implemented through mouse clicks anyway, so I'm effectively just adding more sleeps, but... :)
The text was updated successfully, but these errors were encountered: