I hereby claim:
- I am dude-x on github.
- I am isaul (https://keybase.io/isaul) on keybase.
- I have a public key whose fingerprint is 94F1 7D3C 35D3 917F D781 1131 6920 FC95 C59C 4E01
To claim this, I am signing this object:
*** LOCAL GEMS *** | |
bigdecimal (1.2.0) | |
CFPropertyList (2.2.8) | |
io-console (0.4.2) | |
json (1.7.7) | |
libxml-ruby (2.6.0) | |
minitest (4.3.2) | |
nokogiri (1.5.6) |
I hereby claim:
To claim this, I am signing this object:
var callback = arguments[arguments.length - 1]; | |
var any_activity_yet = false; | |
var checkInactive = function() { | |
var result = (window.jQuery != null) && (jQuery.active === 0); | |
if ((result == true) && (any_activity_yet == true)) | |
{return callback();} | |
if (result == false) | |
{any_activity_yet = true;} | |
setTimeout(checkInactive, 250); | |
} |
def wait_for_jquery_animation_to_complete(self, selector): | |
script = '$(\'{}\').filter(":animated").length === 0;'.format(selector) | |
self.wait_for_script_expression_to_evaluate_true(script) |
def namedFunction(locator, text): | |
def realFunction(driver, locator,text) | |
return driver.x(locator).get(text) | |
return partial(realFunction, locator=locator, text=text) |
[junit] 11032 [main] ERROR org.springframework.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@45a1472d] to prepare test instance [net.wgen.threetwelve.oib.test.AdoptStandardsWebDriverTest@5f47ff11] | |
[junit] java.lang.IllegalStateException: Failed to load ApplicationContext | |
[junit] at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:157) | |
[junit] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) | |
[junit] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) | |
[junit] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321) | |
[junit] at org.springframework.test.context.junit4.Spring |
#my webdriver wait in python: this is wrapped in a class called Browser | |
def presence_of_at_least_one_element_located_by(self, driver, by, value) | |
"""Expected Condition" # Java term in the java bindings""" | |
try: | |
elements = driver.find_elements(by, value) | |
if elements: # if i am calling find elementS i want at least one, not an empty list | |
return elements | |
else: | |
return false # python webdriver wait is looking for a true or false until the timeout | |
except StaleElementReferenceException as sere: |
List<WebElement> instructions = driver.findElements(By.className("instructions-1")); | |
for (WebElement element: instructions) { | |
element.getText(); | |
} |