Skip to content

js_click() sometimes leads to StaleElementReferenceException #2124

Closed
@mdmintz

Description

@mdmintz

js_click() sometimes leads to StaleElementReferenceException

As seen in GitHub Actions CI: https://github.com/mdmintz/coffee-cart-testing/actions/runs/6237664658/job/16931764514

If the StaleElementReferenceException happens, js_click() should have at least one retry before giving up and failing the test.

This means: Re-find the element and try the js_click() again if it happens.

Metadata

Metadata

Assignees

Labels

bugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions