bbangert / lettuce_webdriver

Selenium webdriver for lettuce
MIT License
81 stars 32 forks source link

Optimise XPath queries #35

Closed danni closed 8 years ago

danni commented 10 years ago

There's quite a few queries in LWD which do things like:

    text_field = find_field(world.browser, 'text', field_name) or \
        find_field(world.browser, 'textarea', field_name) or \
        find_field(world.browser, 'password', field_name) or \
        ...

Each one of these triggers a single XPath query to the WebDriver, which if you're using a network webdriver, such as BrowserStack, is another round-trip across the Internet.

Need to combine these into single queries to the WebDriver.

koterpillar commented 9 years ago

This has been fixed in #42.

miratcan commented 8 years ago

@koterpillar Why fixed issues are remaining open?

koterpillar commented 8 years ago

@miratcan I am not the maintainer for this repository and cannot close it.