This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(15)); | |
| WebElement usernameField = wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("input[data-test-id='SignIn-Username']"))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WebDriverWait wait = new WebDriverWait(driver, 15, 100); | |
| WebElement usernameField = wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("input[data-test-id='SignIn-Username']"))); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {QQ} Select the following element - Selenium 4 alpha 6... | |
| <input data-test-id="SignIn-Username" name="username" type="text" placeholder="Username" tabindex="" autocomplete="off" maxlength="60" required="" value=""> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + docker pull elgalu/selenium | |
| /Users/test/.jenkins/workspace/ZaleniumPipeline@tmp/durable-ccc01f8a/script.sh: line 1: docker: command not found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| environment: | |
| - Key1 | |
| - Key2 | |
| - Key3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| driver = Selenium::WebDriver.for :remote, url: "<http://localhost:9222>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @BeforeStep | |
| public void safariIssues() { | |
| if (System.getProperty("browser").equals("safari")) { | |
| try { | |
| Thread.sleep(2000); | |
| } catch (InterruptedException e) { | |
| e.printStackTrace(); | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| driver.manage().timeouts().pageLoadTimeout(2, TimeUnit.MINUTES); | |
| driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); | |
| return driver; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| org.openqa.selenium.NoSuchFrameException: | |
| Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' | |
| System info: host: 'MacBook-Pro-Piotr.local', ip: '', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.6', java.version: '11.0.8' | |
| Driver info: org.openqa.selenium.safari.SafariDriver | |
| Capabilities {acceptInsecureCerts: false, browserName: Safari Technology Preview, browserVersion: 14.0, javascriptEnabled: true, platform: MAC, platformName: MAC, safari:automaticInspection: true, safari:automaticProfiling: false, safari:diagnose: false, safari:platformBuildVersion: 19G2021, safari:platformVersion: 10.15.6, safari:useSimulator: false, setWindowRect: true, strictFileInteractability: false, webkit:WebRTC: {DisableICECandidateFiltering: false, DisableInsecureMediaCapture: false}} | |
| Session ID: 8A3B8FAF-95DD-47A2-8DE3-F5AC26387A7B | |
| *** Element info: {Using=css selector, value=[id^="usermenu"]} | |
| at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| candidates = this.element.findElements(By.tagName("option")); |