Note that there are some explanatory texts on larger screens.

plurals
  1. POClick event processes but watir-webdriver / selenium-webdriver still throws a TimeoutError on faster Macs
    primarykey
    data
    text
    <p>Gems in use:</p> <ul> <li>watir-webdriver-0.6.2</li> <li>selenium-webdriver-2.27.2</li> </ul> <p>Using Firefox 16.0.2 on all systems.</p> <p>Situation: We have a modal window that closes after we run </p> <pre><code>link(:text, 'Continue').click </code></pre> <p>System 1: Hardware Overview:</p> <ul> <li>Model Name: MacBook Air</li> <li>Model Identifier: MacBookAir4,2</li> <li>Processor Name: Intel Core i5</li> <li>Processor Speed: 1.7 GHz</li> <li>Number of Processors:1</li> <li>Total Number of Cores: 2</li> <li>Memory: 4 GB</li> <li>OS: OS X 10.8.2</li> </ul> <p>System 1 Result: Always succeeds</p> <p>System 2:</p> <ul> <li>Model Name: MacBook Pro</li> <li>Model Identifier: MacBookPro10,1</li> <li>Processor Name: Intel Core i7</li> <li>Processor Speed: 2.3 GHz</li> <li>Number of Processors: 1</li> <li>Total Number of Cores: 4</li> <li>Memory: 16 GB</li> <li>OS: OS X 10.8.2</li> </ul> <p>System 2 Results: Executes the click and then after the specified time throws a Timeout::Error.</p> <p>A Middle system (sorry I don't have the full specs available) is a new Mac Mini also with Mountain Lion. This system WAS failing until while trying to track this down, I added a puts statement at the specific call that produced the timeout. This led, of course, to a constant success state, which indicated what we fondly call a Heisenerror.</p> <p>The puts statement was added in the selenium-webdriver code in lib/selenium/webdriver/remote/bridge.rb around line 613 and looked like:</p> <pre><code>puts "-&gt; #{verb.to_s.upcase} #{path}" if verb.to_s.upcase == 'POST' </code></pre> <p>This prints out all of the post requests made to the browser. The specific post request that timesout is one of the click requests. I don't have the full path, but will add it on Monday if it is required.</p> <p>Does anybody know how to circumvent system-dependent timeouts with watir/selenium?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload