index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
path: root/google_test.js
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-17 22:26:53 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-17 22:26:53 -0700 |
commit | 23967fe2f5ae9fb6d6c8a2cbc29845531f7acece (patch) | |
tree | a9bc130e002ed7241552891f70326976b01117fb /google_test.js | |
parent | 24e2bd5821b09d4d7e243fc62ab36f45454a0a03 (diff) |
Integration test running with test server
Diffstat (limited to 'google_test.js')
-rw-r--r-- | google_test.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/google_test.js b/google_test.js deleted file mode 100644 index bf751a6..0000000 --- a/google_test.js +++ /dev/null @@ -1,22 +0,0 @@ -import { Builder } from 'selenium-webdriver'; -import chrome from 'selenium-webdriver/chrome.js'; - -console.log("Start the browser.") - -let chromeOptions = new chrome.Options(); -chromeOptions.addArguments('--headless', '--disable-gpu', '--no-sandbox'); - -let driver = new Builder() - .forBrowser('chrome') - .setChromeOptions(chromeOptions) - .build(); - -console.log("Done!") - -console.log("Open Google.") -await driver.get("https://google.com"); -console.log("Done!") - -const html = await driver.getPageSource(); - -driver.quit() |