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
| selenium-side-runner --base-url <https://localhost:8080> -c "browserName=chrome" --filter Create_New_Application --param "Name='qaSeleniumJune42020'" |
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
| static void Main(string[] args) | |
| { | |
| var profile = new FirefoxProfile(); | |
| var options = new FirefoxOptions(); | |
| profile.AddExtension("Touch_VPN.xpi"); | |
| options.Profile = profile; | |
| var driver = new FirefoxDriver(options); | |
| } |
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
| static void Main(string[] args) | |
| { | |
| var options = new FirefoxOptions(); | |
| options.Profile = new FirefoxProfile(); | |
| options.Profile.AddExtension("Touch_VPN.xpi"); | |
| var driver = new FirefoxDriver(options); |
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
| OpenQA.Selenium.WebDriverException: 'Cannot find a file named 'C:\Users\Pedro\source\repos\Selenium 4 Test\Selenium 4 Test\bin\Debug\webdriver_prefs.json' or an embedded resource with the id 'webdriver_preferences.json'.' |
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
| "capabilities": | |
| [ | |
| { | |
| "browserName": "MicrosoftEdge", | |
| "maxInstances": 1, | |
| "seleniumProtocol": "WebDriver", | |
| "version": "18.17763" | |
| } | |
| ],``` | |
| How I create the EdgeOptions: |
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
| browser.set_context("chrome") | |
| win = browser.find_element_by_tag_name("body") | |
| for i in range(5): win.send_keys(Keys.CONTROL + "-") | |
| browser.set_context("content") |
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
| WebDriverException: Message: unknown error: cannot determine loading status | |
| from unknown error: missing or invalid 'entry.level' | |
| (Session info: chrome=83.0.4103.61) | |
| (Driver info: chromedriver=2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9),platform=Mac OS X 10.15.2 x86_64) |
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
| # Searching element of jQuery HTML popup and click on it | |
| 24 driver.find_element_by_xpath("/html/body/div[1]/div[1]/header/div/div[1]/div/div/div[2]/div[1]/div[2]/div/span").click() | |
| 25 # Waiting for presence of element | |
| 26 WebDriverWait(driver, 10).until( | |
| 27 EC.presence_of_all_elements_located((By.XPATH, "//*[@id='logEmailInput']//*[@id='input-32']")) | |
| 28 ) | |
| 29 # Send creds to login popup | |
| 30 driver.find_elements_by_xpath("//*[@id='logEmailInput']//*[@id='input-32']").send_keys("<mailto:newcrmtestreal1@dd.com|newcrmtestreal1@dd.com>") | |
| 31 driver.find_elements_by_xpath("//*[@id='password']//*[@id='input-37']").send_keys("1Q2w3e4r") | |
| 32 # Click on login button |
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
| HTML Report Generated at: /home/ubuntu/workspace/oneapihub-ui@2/test/e2e/reports/report.html | |
| Error: Exited with code 3 | |
| at ChildProcess.<anonymous> (/home/ubuntu/workspace/oneapihub-ui@2/node_modules/nightwatch-html-reporter/node_modules/opn/index.js:85:13) | |
| at Object.onceWrapper (events.js:417:26) | |
| at ChildProcess.emit (events.js:310:20) | |
| at maybeClose (internal/child_process.js:1021:16) | |
| at Socket.<anonymous> (internal/child_process.js:443:11) | |
| at Socket.emit (events.js:310:20) | |
| at Pipe.<anonymous> (net.js:672:12) | |
| [1;31m_________________________________________________[0m |
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.ElementNotInteractableException: element not interactable: element has zero size |