Weekly Webtips
Published in

Weekly Webtips

JavascriptExecutor can be your next life-saver

Before we proceed with this I would like to emphasize this method is not encouraged to use in test automation, this should be the last option of your automation path.

Photo by Lautaro Andreani on Unsplash

Why?

This approach is not simulating the end-user but rather uses a technical mechanism to fire actions on the web page. This will not 100% guarantee the functionality is working as expected…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sajitha Pathirana

Sajitha Pathirana

Tech Enthusiast, SDET | Test Automation Consultant, and a Product Designer. I write about QA Trends, Testing, and Test Automation.