hardStudy question · answer published in Automation Testing interview questions, so no pointsui-automationseleniumflaky-tests
Clicking through JavaScript
A tester "fixes" an intercepted click by using ((JavascriptExecutor) driver).executeScript("arguments[0].click()", button). Why can this be harmful?
Discussion 0
Join free to post in the discussion.
Related questions
- Choosing a stable locatorAutomation Test Engineer
- Waiting for an elementAutomation Test Engineer
- Headless modeAutomation Test Engineer
- What makes a test flakyAutomation Test Engineer
- How Selenium talks to a browserAutomation Test Engineer
- Finding a button by role and nameAutomation Test Engineer
- Recording a first draft of a testAutomation Test Engineer
- Stepping through a failing testAutomation Test Engineer