-
-
Save Danielfenghk/835601acf226c1dc535744349f02e3c4 to your computer and use it in GitHub Desktop.
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
require('chromedriver'); | |
const webdriver = require('selenium-webdriver'); | |
describe('selenium test - part 1', () => { | |
it('should be able to start a website', async () => { | |
let driver = new webdriver.Builder() | |
.forBrowser('chrome') | |
.build(); | |
driver.manage().window().maximize(); | |
await driver.navigate().to('https://techblog.polteq.com/testshop/index.php'); | |
driver.sleep(5000); | |
await driver.quit(); | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment