Skip to content

Instantly share code, notes, and snippets.

@IanVaughan
Created January 15, 2020 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IanVaughan/9a13a4b7d3de880b30d4688dd5e9d4a7 to your computer and use it in GitHub Desktop.
Save IanVaughan/9a13a4b7d3de880b30d4688dd5e9d4a7 to your computer and use it in GitHub Desktop.
User signup flow
*** Capybara start ***
javascript_driver: headless_chrome
current_driver: headless_chrome
default_driver: rack_test
Capybara starting Puma...
* Version 3.12.2 , codename: Llamas in Pajamas
* Min threads: 0, max threads: 4
* Listening on tcp://127.0.0.1:46320
/app/vendor/bundle/ruby/2.7.0/gems/webmock-3.7.6/lib/webmock/http_lib_adapters/net_http.rb:271: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/ruby-2.7.0/lib/ruby/2.7.0/net/protocol.rb:114: warning: The called method `initialize' is defined here
2020-01-15 17:08:25 DEBUG Webdrivers Checking current version
2020-01-15 17:08:25 DEBUG Webdrivers /app/.webdrivers/chromedriver is not already downloaded
2020-01-15 17:08:25 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 17:08:25 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 17:08:26 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 17:08:26 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 17:08:26 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/LATEST_RELEASE_79.0.3945
2020-01-15 17:08:26 DEBUG Webdrivers Get response: #<Net::HTTPOK 200 OK readbody=true>
2020-01-15 17:08:26 DEBUG Webdrivers Latest version available: 79.0.3945.36
2020-01-15 17:08:26 DEBUG Webdrivers Deleting /app/.webdrivers/chromedriver.version
2020-01-15 17:08:26 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 17:08:26 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 17:08:26 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Selenium::WebDriver::Chrome.path: /app/.apt/usr/bin/google-chrome-stable
2020-01-15 17:08:26 DEBUG Webdrivers making System call: ["/app/.apt/usr/bin/google-chrome-stable", "--product-version"]
2020-01-15 17:08:26 DEBUG Webdrivers System call returned: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Browser version: 79.0.3945.117
2020-01-15 17:08:26 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/LATEST_RELEASE_79.0.3945
2020-01-15 17:08:26 DEBUG Webdrivers Get response: #<Net::HTTPOK 200 OK readbody=true>
2020-01-15 17:08:26 DEBUG Webdrivers Latest version available: 79.0.3945.36
2020-01-15 17:08:26 DEBUG Webdrivers chromedriver URL: https://chromedriver.storage.googleapis.com/79.0.3945.36/chromedriver_linux64.zip
2020-01-15 17:08:26 DEBUG Webdrivers Making network call to https://chromedriver.storage.googleapis.com/79.0.3945.36/chromedriver_linux64.zip
2020-01-15 17:08:26 DEBUG Webdrivers Get response: #<Net::HTTPOK 200 OK readbody=true>
2020-01-15 17:08:26 DEBUG Webdrivers Successfully downloaded /tmp/20200115-2178-7cc588chromedriver_linux64.zip
2020-01-15 17:08:26 DEBUG Webdrivers Decompressing /tmp/20200115-2178-7cc588chromedriver_linux64.zip
2020-01-15 17:08:26 DEBUG Webdrivers Completed download and processing of /app/.webdrivers/chromedriver
2020-01-15 17:08:26 DEBUG Selenium Executing Process ["/app/.webdrivers/chromedriver", "--port=9515"]
2020-01-15 17:08:26 DEBUG Selenium polling for socket on ["127.0.0.1", 9515]
Starting ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}) on port 9515
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
2020-01-15 17:08:26 INFO Selenium -> POST session
2020-01-15 17:08:26 INFO Selenium >>> http://127.0.0.1:9515/session | {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"ANY","javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"},"goog:chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"}},"capabilities":{"firstMatch":[{"browserName":"chrome","goog:chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"}}]}}
2020-01-15 17:08:26 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"464"}
2020-01-15 17:08:27 INFO Selenium <- {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"79.0.3945.117","chrome":{"chromedriverVersion":"79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614})","userDataDir":"/tmp/.com.google.Chrome.udUkkY"},"goog:chromeOptions":{"debuggerAddress":"localhost:39903"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"linux","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"},"sessionId":"c6bd4bbf59d48d1c4f9178dc511a5ad4"}}
2020-01-15 17:08:27 INFO Selenium Detected W3C dialect.
2020-01-15 17:08:27 INFO Selenium -> POST session/c6bd4bbf59d48d1c4f9178dc511a5ad4/url
2020-01-15 17:08:27 INFO Selenium >>> http://127.0.0.1:9515/session/c6bd4bbf59d48d1c4f9178dc511a5ad4/url | {"url":"http://127.0.0.1:46320/"}
2020-01-15 17:08:27 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"33"}
2020-01-15 17:08:27 INFO Selenium <- {"value":null}
2020-01-15 17:08:27 INFO Selenium -> GET session/c6bd4bbf59d48d1c4f9178dc511a5ad4/window/handles
2020-01-15 17:08:27 INFO Selenium <- {"value":["CDwindow-131A1C939BA330843F427F8A22E754A2"]}
/app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/session.rb:751: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/capybara-3.30.0/lib/capybara/node/actions.rb:41: warning: The called method `click_link' is defined here
2020-01-15 17:08:27 INFO Selenium -> POST session/c6bd4bbf59d48d1c4f9178dc511a5ad4/elements
2020-01-15 17:08:27 INFO Selenium >>> http://127.0.0.1:9515/session/c6bd4bbf59d48d1c4f9178dc511a5ad4/elements | {"using":"xpath","value":".//a[./@href][((((./@id = 'Sign Up') or contains(normalize-space(string(.)), 'Sign Up')) or contains(./@title, 'Sign Up')) or .//img[contains(./@alt, 'Sign Up')])]"}
2020-01-15 17:08:27 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"191"}
2020-01-15 17:08:28 INFO Selenium <- {"value":[{"element-6066-11e4-a52e-4f735466cecf":"cb55656c-e836-46c3-b5af-16e2155fe09c"},{"element-6066-11e4-a52e-4f735466cecf":"827358b5-600d-4438-be09-f8c4457c8352"}]}
2020-01-15 17:08:28 INFO Selenium Using script for :isDisplayed
2020-01-15 17:08:28 INFO Selenium -> POST session/c6bd4bbf59d48d1c4f9178dc511a5ad4/execute/sync
2020-01-15 17:08:28 INFO Selenium >>> http://127.0.0.1:9515/session/c6bd4bbf59d48d1c4f9178dc511a5ad4/execute/sync | {"script":"return ((function(){function d(t,e,n){function r(t){var e=x(t);if(0<e.height&&0<e.width)return!0;if(\"PATH\"==t.tagName.toUpperCase()&&(0<e.height||0<e.width)){var n=window.getComputedStyle(t)[\"stroke-width\"];return!!n&&0<parseInt(n,10)}return\"hidden\"!=window.getComputedStyle(t).overflow&&Array.prototype.slice.call(t.childNodes).some(function(t){return t.nodeType==Node.TEXT_NODE||t.nodeType==Node.ELEMENT_NODE&&r(t)})}function i(t){return C(t)==T.HIDDEN&&Array.prototype.slice.call(t.childNodes).every(function(t){return t.nodeType!=Node.ELEMENT_NODE||i(t)||!r(t)})}var o=t.tagName.toUpperCase();if(\"BODY\"==o)return!0;if(\"OPTION\"==o||\"OPTGROUP\"==o){var a=c(t,function(t){return\"SELECT\"==t.tagName.toUpperCase()});return!!a&&d(a,!0,n)}var u=s(t);if(u)return!!u.image&&0<u.rect.width&&0<u.rect.height&&d(u.image,e,n);if(\"INPUT\"==o&&\"hidden\"==t.type.toLowerCase())return!1;if(\"NOSCRIPT\"==o)return!1;var l=window.getComputedStyle(t).visibility;return\"collapse\"!=l&&\"hidden\"!=l&&(!!n(t)&&(!(!e&&0==f(t))&&(!!r(t)&&!i(t))))}function E(t){var e=x(t);return{left:e.left,right:e.left+e.width,top:e.top,bottom:e.top+e.height}}function D(t){return t.parentElement}function C(t){function e(t){function e(t){if(t==u)return!0;var e=window.getComputedStyle(t),n=e.display;return 0!=n.indexOf(\"inline\")&&\"contents\"!=n&&(\"absolute\"!=r||\"static\"!=e.position)}var r=window.getComputedStyle(t).position;if(\"fixed\"==r)return i=!0,t==u?null:u;for(var n=D(t);n&&!e(n);)n=D(n);return n}function n(t){var e=t;if(\"visible\"==d)if(t==u&&l)e=l;else if(t==l)return{x:\"visible\",y:\"visible\"};var n=window.getComputedStyle(e),r={x:n[\"overflow-x\"],y:n[\"overflow-y\"]};return t==u&&(r.x=\"visible\"==r.x?\"auto\":r.x,r.y=\"visible\"==r.y?\"auto\":r.y),r}function r(t){return t==u?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop}}for(var i,o=E(t),a=t.ownerDocument,u=a.documentElement,l=a.body,d=window.getComputedStyle(u).overflow,f=e(t);f;f=e(f)){var h=n(f);if(\"visible\"!=h.x||\"visible\"!=h.y){var s=x(f);if(0==s.width||0==s.height)return T.HIDDEN;var p=o.right<s.left,c=o.bottom<s.top;if(p&&\"hidden\"==h.x||c&&\"hidden\"==h.y)return T.HIDDEN;if(p&&\"visible\"!=h.x||c&&\"visible\"!=h.y){var v=r(f),g=o.right<s.left-v.x,w=o.bottom<s.top-v.y;return g&&\"visible\"!=h.x||w&&\"visible\"!=h.x?T.HIDDEN:C(f)==T.HIDDEN?T.HIDDEN:T.SCROLL}var N=o.left>=s.left+s.width,m=o.top>=s.top+s.height;if(N&&\"hidden\"==h.x||m&&\"hidden\"==h.y)return T.HIDDEN;if(N&&\"visible\"!=h.x||m&&\"visible\"!=h.y){if(i){var y=r(f);if(o.left>=u.scrollWidth-y.x||o.right>=u.scrollHeight-y.y)return T.HIDDEN}return C(f)==T.HIDDEN?T.HIDDEN:T.SCROLL}}}return T.NONE}function o(t){var e=t.document.documentElement;return{width:e.clientWidth,height:e.clientHeight}}function p(t,e,n,r){return{left:t,top:e,width:n,height:r}}function x(t){var e,n=s(t);if(n)return n.rect;if(\"HTML\"==t.tagName.toUpperCase()){t.ownerDocument;var r=o(window);return p(0,0,r.width,r.height)}try{e=t.getBoundingClientRect()}catch(i){return p(0,0,0,0)}return p(e.left,e.top,e.right-e.left,e.bottom-e.top)}function f(t){var e=1,n=window.getComputedStyle(t).opacity;n&&(e=Number(n));var r=D(t);return r&&r.nodeType==Node.ELEMENT_NODE&&(e*=f(r)),e}function h(t){var e=t.shape.toLowerCase(),n=t.coords.split(\",\");if(\"rect\"==e&&4==n.length){var r=n[0],i=n[1];return p(r,i,n[2]-r,n[3]-i)}if(\"circle\"==e&&3==n.length){var o=n[0],a=n[1],u=n[2];return p(o-u,a-u,2*u,2*u)}if(\"poly\"==e&&2<n.length){for(var l=n[0],d=n[1],f=l,h=d,s=2;s+1<n.length;s+=2)l=Math.min(l,n[s]),f=Math.max(f,n[s]),d=Math.min(d,n[s+1]),h=Math.max(h,n[s+1]);return p(l,d,f-l,h-d)}return p(0,0,0,0)}function s(t){var e=t.tagName.toUpperCase(),n=\"MAP\"==e;if(!n&&\"AREA\"!=e)return null;var r=n?t:\"MAP\"==D(t).tagName.toUpperCase()?D(t):null,i=null,o=null;if(r&&r.name&&((i=r.ownerDocument.querySelector(\"*[usemap='#\"+r.name+\"']\"))&&(o=x(i),!n&&\"default\"!=t.shape.toLowerCase()))){var a=h(t),u=Math.min(Math.max(a.left,0),o.width),l=Math.min(Math.max(a.top,0),o.height),d=Math.min(a.width,o.width-u),f=Math.min(a.height,o.height-l);o=p(u+o.left,l+o.top,d,f)}return{image:i,rect:o||p(0,0,0,0)}}function c(t,e){for(t&&(t=D(t));t;){if(e(t))return t;t=D(t)}return null}function r(t){var e=t.parentNode;if(e&&e.shadowRoot&&t.assignedSlot!==undefined)return t.assignedSlot?t.assignedSlot.parentNode:null;if(t.getDestinationInsertionPoints){var n=t.getDestinationInsertionPoints();if(0<n.length)return n[n.length-1]}return e}var T={NONE:\"none\",HIDDEN:\"hidden\",SCROLL:\"scroll\"};return function i(t,e){function n(t){if(\"none\"==window.getComputedStyle(t).display)return!1;var e=r(t);if(\"function\"==typeof ShadowRoot&&e instanceof ShadowRoot){if(e.host.shadowRoot!==e)return!1;e=e.host}return!(!e||e.nodeType!=Node.DOCUMENT_NODE&&e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE)||!(e&&e.tagName&&\"DETAILS\"==e.tagName.toUpperCase()&&!e.open&&\"SUMMARY\"!=t.tagName)&&(e&&n(e))}return d(t,!!e,n)}})()).apply(null, arguments)","args":[{"element-6066-11e4-a52e-4f735466cecf":"cb55656c-e836-46c3-b5af-16e2155fe09c"}]}
2020-01-15 17:08:28 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"5067"}
2020-01-15 17:08:28 INFO Selenium <- {"value":true}
2020-01-15 17:08:28 INFO Selenium -> POST session/c6bd4bbf59d48d1c4f9178dc511a5ad4/element/cb55656c-e836-46c3-b5af-16e2155fe09c/click
2020-01-15 17:08:28 INFO Selenium <- {"value":null}
2020-01-15 17:08:28 INFO Selenium -> GET session/c6bd4bbf59d48d1c4f9178dc511a5ad4/window/handles
2020-01-15 17:08:28 INFO Selenium <- {"value":["CDwindow-131A1C939BA330843F427F8A22E754A2","CDwindow-88D5CC044B468C7684C3B7FAFFE830F3"]}
2020-01-15 17:08:28 INFO Selenium -> GET session/c6bd4bbf59d48d1c4f9178dc511a5ad4/window
2020-01-15 17:08:28 INFO Selenium <- {"value":"CDwindow-131A1C939BA330843F427F8A22E754A2"}
2020-01-15 17:08:28 INFO Selenium -> POST session/c6bd4bbf59d48d1c4f9178dc511a5ad4/window
2020-01-15 17:08:28 INFO Selenium >>> http://127.0.0.1:9515/session/c6bd4bbf59d48d1c4f9178dc511a5ad4/window | {"handle":"CDwindow-88D5CC044B468C7684C3B7FAFFE830F3"}
2020-01-15 17:08:28 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"54"}
/app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/messages/rotator.rb:28: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/messages/rotator.rb:6: warning: The called method `initialize' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/view_paths.rb:11: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/lookup_context.rb:140: warning: The called method `template_exists?' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/unbound_template.rb:24: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.2.1/lib/action_view/template.rb:130: warning: The called method `initialize' is defined here
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/railties/collection_cache_association_loading.rb:7: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/railties/collection_cache_association_loading.rb:12: warning: The called method `relation_from_options' is defined here
... waiting ...
2020-01-15 17:09:28 INFO Selenium -> GET session/c6bd4bbf59d48d1c4f9178dc511a5ad4/window/handles
... waiting more...
Visits home page to signup (FAILED - 1)
*** Selenium start ***
2020-01-15 17:11:28 DEBUG Webdrivers Checking current version
2020-01-15 17:11:28 DEBUG Webdrivers /app/.webdrivers/chromedriver is already downloaded
2020-01-15 17:11:28 DEBUG Webdrivers making System call: ["/app/.webdrivers/chromedriver", "--version"]
2020-01-15 17:11:28 DEBUG Webdrivers System call returned: ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614})
2020-01-15 17:11:28 DEBUG Webdrivers Current version of /app/.webdrivers/chromedriver is ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614})
2020-01-15 17:11:28 DEBUG Webdrivers A working webdriver version is already on the system
2020-01-15 17:11:28 DEBUG Selenium Executing Process ["/app/.webdrivers/chromedriver", "--port=9516"]
2020-01-15 17:11:28 DEBUG Selenium polling for socket on ["127.0.0.1", 9516]
Starting ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}) on port 9516
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
2020-01-15 17:11:28 INFO Selenium -> POST session
2020-01-15 17:11:28 INFO Selenium >>> http://127.0.0.1:9516/session | {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"ANY","javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"goog:chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"}},"capabilities":{"firstMatch":[{"browserName":"chrome","goog:chromeOptions":{"binary":"/app/.apt/usr/bin/google-chrome-stable"}}]}}
2020-01-15 17:11:28 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"396"}
2020-01-15 17:11:29 INFO Selenium <- {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"79.0.3945.117","chrome":{"chromedriverVersion":"79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614})","userDataDir":"/tmp/.com.google.Chrome.Njylge"},"goog:chromeOptions":{"debuggerAddress":"localhost:44600"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"linux","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"},"sessionId":"515574cf471eacc50bcf4667a041edc4"}}
2020-01-15 17:11:29 INFO Selenium Detected W3C dialect.
2020-01-15 17:11:29 INFO Selenium -> POST session/515574cf471eacc50bcf4667a041edc4/url
2020-01-15 17:11:29 INFO Selenium >>> http://127.0.0.1:9516/session/515574cf471eacc50bcf4667a041edc4/url | {"url":"http://google.com"}
2020-01-15 17:11:29 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"27"}
2020-01-15 17:11:29 INFO Selenium <- {"value":null}
2020-01-15 17:11:29 INFO Selenium -> POST session/515574cf471eacc50bcf4667a041edc4/element
2020-01-15 17:11:29 INFO Selenium >>> http://127.0.0.1:9516/session/515574cf471eacc50bcf4667a041edc4/element | {"using":"css selector","value":"*[name='q']"}
2020-01-15 17:11:29 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"46"}
2020-01-15 17:11:29 INFO Selenium <- {"value":{"element-6066-11e4-a52e-4f735466cecf":"0baf982c-bc8c-4975-b45f-1872d5952aa9"}}
2020-01-15 17:11:29 INFO Selenium -> POST session/515574cf471eacc50bcf4667a041edc4/element/0baf982c-bc8c-4975-b45f-1872d5952aa9/value
2020-01-15 17:11:29 INFO Selenium >>> http://127.0.0.1:9516/session/515574cf471eacc50bcf4667a041edc4/element/0baf982c-bc8c-4975-b45f-1872d5952aa9/value | {"value":["t","e","s","t","1","2","3","!"],"text":"test123!"}
2020-01-15 17:11:29 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"61"}
2020-01-15 17:11:30 INFO Selenium <- {"value":null}
2020-01-15 17:11:30 INFO Selenium -> POST session/515574cf471eacc50bcf4667a041edc4/element/0baf982c-bc8c-4975-b45f-1872d5952aa9/element
2020-01-15 17:11:30 INFO Selenium >>> http://127.0.0.1:9516/session/515574cf471eacc50bcf4667a041edc4/element/0baf982c-bc8c-4975-b45f-1872d5952aa9/element | {"using":"xpath","value":"./ancestor-or-self::form"}
2020-01-15 17:11:30 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"52"}
2020-01-15 17:11:30 INFO Selenium <- {"value":{"element-6066-11e4-a52e-4f735466cecf":"9b94d7aa-cff7-4b5f-874a-6fed4c4e2b0d"}}
2020-01-15 17:11:30 INFO Selenium -> POST session/515574cf471eacc50bcf4667a041edc4/execute/sync
2020-01-15 17:11:30 INFO Selenium >>> http://127.0.0.1:9516/session/515574cf471eacc50bcf4667a041edc4/execute/sync | {"script":"var e = arguments[0].ownerDocument.createEvent('Event');e.initEvent('submit', true, true);if (arguments[0].dispatchEvent(e)) { arguments[0].submit() }","args":[{"element-6066-11e4-a52e-4f735466cecf":"9b94d7aa-cff7-4b5f-874a-6fed4c4e2b0d"}]}
2020-01-15 17:11:30 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby linux)", "Content-Length"=>"251"}
2020-01-15 17:11:31 INFO Selenium <- {"value":null}
2020-01-15 17:11:31 INFO Selenium -> GET session/515574cf471eacc50bcf4667a041edc4/title
2020-01-15 17:11:31 INFO Selenium <- {"value":"test123! - Google Search"}
test123! - Google Search
2020-01-15 17:11:31 INFO Selenium -> DELETE session/515574cf471eacc50bcf4667a041edc4
2020-01-15 17:11:31 INFO Selenium <- {"value":null}
*** Selenium start ***
2020-01-15 17:11:31 INFO Selenium -> GET session/c6bd4bbf59d48d1c4f9178dc511a5ad4/window/handles
...
fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment