Skip to content

Instantly share code, notes, and snippets.

View seleniumgists's full-sized avatar

seleniumgists

View GitHub Profile
@seleniumgists
seleniumgists / file.cpp
Created July 6, 2020 11:12
generated automatically from #selenium on seleniumhq slack
{"desiredCapabilities":{"browserName":"Safari","version":"","platform":"ANY","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"bstack:options":{"os":"OS X","osVersion":"High Sierra"},"browserVersion":"11.1"},"capabilities":{"firstMatch":[{"bstack:options":{"os":"OS X","osVersion":"High Sierra"},"browserName":"Safari","browserVersion":"11.1","safari:automaticInspection":true}]}}
2020-07-06 12:11:33 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"448"}
2020-07-06 12:11:37 INFO Selenium <- {"status":0,"sessionId":"c60845d43fc1eac5ee7675f74ce05e61d7d5301b","value":{"applicationCacheEnabled":true,"rotatable":false,"databaseEnabled":true,"handlesAlerts":true,"version":"13605.3.8","cleanSession":true,"platform":"macOS","nativeEvents":true,"locationContextEnabled":false,"webStorageEnabled":true,"browserName":"safari","javascriptEn
@seleniumgists
seleniumgists / file.html
Created July 6, 2020 11:07
generated automatically from #selenium on seleniumhq slack
#<Selenium::WebDriver::Remote::Response:0x000055c413944558 @code=200, @payload={"status"=>0, "sessionId"=>"cb2c57993066fdf5cb1c7fffcb8879a6bfec9b43", "value"=>{"applicationCacheEnabled"=>true, "rotatable"=>false, "databaseEnabled"=>true, "handlesAlerts"=>true, "version"=>"13605.3.8", "cleanSession"=>true, "platform"=>"macOS", "nativeEvents"=>true, "locationContextEnabled"=>false, "webStorageEnabled"=>true, "browserName"=>"safari", "javascriptEnabled"=>true, "platformName"=>"macOS", "cssSelectorsEnabled"=>true}}, @error_payload={"status"=>0, "sessionId"=>"cb2c57993066fdf5cb1c7fffcb8879a6bfec9b43", "value"=>{"applicationCacheEnabled"=>true, "rotatable"=>false, "databaseEnabled"=>true, "handlesAlerts"=>true, "version"=>"13605.3.8", "cleanSession"=>true, "platform"=>"macOS", "nativeEvents"=>true, "locationContextEnabled"=>false, "webStorageEnabled"=>true, "browserName"=>"safari", "javascriptEnabled"=>true, "platformName"=>"macOS", "cssSelectorsEnabled"=>true}}, @status=0>
@seleniumgists
seleniumgists / file.sh
Created July 6, 2020 10:52
generated automatically from #selenium on seleniumhq slack
Selenium::WebDriver::Remote::OSS::Bridge:0x00005602028a80e0
@seleniumgists
seleniumgists / file.sh
Created July 2, 2020 18:28
generated automatically from #selenium on seleniumhq slack
echo $JAVA_HOME
/Users/fyre/.jenv/versions/1.8
@seleniumgists
seleniumgists / file.py
Created July 2, 2020 09:48
generated automatically from #selenium on seleniumhq slack
@classmethod
def tearDownClass(cls):
cls.driver.close()
@seleniumgists
seleniumgists / file.m
Created June 30, 2020 20:43
generated automatically from #selenium on seleniumhq slack
org.openqa.selenium.json.JsonException: Unable to determine type from: <. Last 1 characters read: < Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'ip-192-168-51-230', ip: '192.168.51.230', os.name: 'Linux',
@seleniumgists
seleniumgists / file.m
Created June 30, 2020 16:08
generated automatically from #selenium on seleniumhq slack
element = $browser.wait($driver.until.elementIsVisible($browser.findElement($driver.By.id("live-chat"))), DefaultTimeout)
$browser.executeScript("arguments[0].click()", element);
@seleniumgists
seleniumgists / file.m
Created June 30, 2020 15:35
generated automatically from #selenium on seleniumhq slack
$browser.wait($driver.until.elementIsVisible($browser.findElement($driver.By.id("live-chat"))), DefaultTimeout)
@seleniumgists
seleniumgists / file.py
Created June 27, 2020 17:15
generated automatically from #selenium on seleniumhq slack
org.openqa.selenium.remote.internal.JsonToWebElementConverter
@seleniumgists
seleniumgists / file.cpp
Created June 25, 2020 20:36
generated automatically from #selenium on seleniumhq slack
WebDriverError: invalid argument: can't kill an exited process
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'selenium-node-firefox-9558b9f58-2v8cw', ip: 'ipaddress', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-106-generic', java.version: '1.8.0_252'
Driver info: driver.version: unknown
remote stacktrace:
at Object.checkLegacyResponse (/var/jenkins_home/workspace/project/node_modules/selenium-webdriver/lib/error.js:585:15)
at parseHttpResponse (/var/jenkins_home/workspace/project/node_modules/selenium-webdriver/lib/http.js:556:13)
at Executor.execute (/var/jenkins_home/workspace/project/node_modules/selenium-webdriver/lib/http.js:491:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
name: 'WebDriverError',