This file contains 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
SetTitleMatchMode, 2 | |
ConnectFirefox() | |
{ | |
WinActivate Mozilla Firefox | |
Send, {Alt} | |
Send, T | |
Send, W | |
Send, C | |
While !WinExist("Connect - Mozilla Firefox") |
This file contains 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> | |
<head> | |
<title>test grid page</title> | |
</head> | |
<style> | |
body { | |
width:1000px; | |
} | |
* { | |
box-sizing: border-box; |
This file contains 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
const {Builder, By, until, Capabilities} = require('selenium-webdriver'); | |
// Make sure `chromedriver --port=9515` was started before | |
var driver = new Builder() | |
.withCapabilities(Capabilities.chrome()) | |
.usingServer('http://localhost:9515') | |
.build(); | |
driver.get('http://www.google.com/ncr') | |
.then(_ => driver.findElement(By.name('q')).sendKeys('webdriver')) |
This file contains 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
// google_search.js | |
var chromeDriver = require('chromedriver'), // Auto install ChromeDriver | |
webdriver = require('selenium-webdriver'), | |
By = webdriver.By, | |
until = webdriver.until; | |
var chrome = require("selenium-webdriver/chrome"); | |
var options = new chrome.Options(); | |
options.options_["debuggerAddress"] = "127.0.0.1:6813"; | |
var driver = new webdriver.Builder() |
This file contains 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
// google_search.js | |
var chromeDriver = require('chromedriver'), // Auto install ChromeDriver | |
webdriver = require('selenium-webdriver'), | |
By = webdriver.By, | |
until = webdriver.until; | |
var path = 'C:\\Users\\savdeev\\Downloads\\chrome-win32\\chrome-win32\\chrome.exe'; | |
var chrome = require("selenium-webdriver/chrome"); | |
var driver = new webdriver.Builder() | |
.forBrowser('chrome') |