selenium - Slow Specification Progress -


$ gauge -v gauge version: 0.8.4  plugins ------- html-report (4.0.2) java (0.6.4)  chrome: latest chromedriver: 2.31 selenium-java: 3.4.0 

tl;dr

running gauge specifications on machine intranet access runs slow compared machine has full access internet. known issue?

details

i'm converting gauge/sahi project migrated twist pure gauge/selenium project. have project running locally , runs super fast.

the issue happens when run specifications on environment, @ point specifications progress in browser time page load happens. time page load happens, page loads quickly, browser activity spinner keeps spinning quite few seconds before seems timeout , proceeds tests, repeating hang further page loads.

i've tried differences between 2 machines trying find fix. 2 machines have same gauge plugins , gauge version on them. local machine running win 7 while machine issue running win server '08 r1. tests on win serv box run , finish correctly if given enough time, don't want tests run super slow when see can run super fast otherwise.

using chrome outside of gauge tests results in browser performing expected without reflection of issues seen in specifications running.

one thing occurred me while trying figure out issue is, machine has full access internet, while machine slowness issue has intranet access. needs intranet access perform functional tests running.

so leads me question. gague/selenium/chromedriver trying access sort of internet address part of process, cannot to, causing delay?

if case, there way tell through chromeoptions or other manner not this?

i've tried setting driver.manage().timeouts().pageloadtimeout() seem make timeout after time give it, while pages in application return < 2 seconds, there exceptions run bit longer. feels bad practice force timeout majority of pages , handle exception, , have possibly remember have adjust higher pages not expected return within timeout period.

any issue appreciated, if spitballing solution ideas might lead answer.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -