Skip to content

Find elements with an id, class or name derived By selector where possible #333

Description

@geb-bot

Originally created by SergeyA.

Expressions like $("#myid").value("test") are about two times slower than their Selenium analog
new Select(driver.findElement(By.id("test"))).selectByValue("N")

I believe it is because all selectors are translated to By.cssSelector in NonEmptyNavigator.find without any optimizations by selector type.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions