We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running a mobile web test sometimes get webdriver socket hang up and oxygen still stuck on mob.open - can last for over an hour.
var caps = { "platformName": "Android", "platformVersion": "9", "deviceName": "3491360b9805", "browserName" :"chrome", "automationName": "UIAutomator2" } mob.init(caps); mob.pause(3000); mob.setWebViewContext(); ///mob.pause(3000); mob.open('https://www.wikipedia.org/'); //mob.selectWindow('title=Wikipedia'); // id: id=searchInput // name: name=search // xpath:attributes: //input[@id=\'searchInput\'] // xpath:idRelative: //div[@id=\'search-input\']/input // xpath osition: //div/input // css: css=#searchInput mob.click('id=searchInput'); // id: id=searchInput // name: name=search // xpath:attributes: //input[@id=\'searchInput\'] // xpath:idRelative: //div[@id=\'search-input\']/input // xpath osition: //div/input // css: css=#searchInput mob.type('id=searchInput', 'Hello world'); // xpath:attributes: //button[@type=\'submit\'] // xpath:idRelative: //form[@id=\'search-form\']/fieldset/button // xpath osition: //fieldset/button // css: css=button.pure-button.pure-button-primary-progressive mob.click('//button[@type=\'submit\']'); //mob.selectWindow('title="Hello, World!" program - Wikipedia'); // id: id=firstHeading // xpath:attributes: //h1[@id=\'firstHeading\'] // xpath:idRelative: //div[@id=\'content\']/h1 // xpath osition: //h1 // css: css=#firstHeading return; mob.assertText('id=firstHeading', '"Hello, World!" program'); // id: id=firstHeading // xpath:attributes: //h1[@id=\'firstHeading\'] // xpath:idRelative: //div[@id=\'content\']/h1 // xpath osition: //h1 // css: css=#firstHeading mob.waitForExist('id=firstHeading');
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running a mobile web test sometimes get webdriver socket hang up and oxygen still stuck on mob.open - can last for over an hour.
The text was updated successfully, but these errors were encountered: