Handling Chrome Extensions in Automation – Alternative to SeleniumGo Back
- Posted by Aiswaria Sivasankari
I have recently got to work with a project, where the main part of the application is to adding and working with chrome extension, and we had to automate this part.
It’s easy to add a chrome extension using Selenium, but it was challenging to find a work around to click on the extension, select one of the options displayed and work on it.
Alternative to Selenium
As we were looking for an alternative, I come across “Sikuli” which was very interesting to work with. This uses image recognition, to identify an object, and performs the actions, but this is something similar to human actions, as we can see the mouse moving while the script is getting executed.
We will have to feed in the image of the object on which we want Sikuli to perform, and use skiuli functions like click, drag etc. to perform the desired actions.
For those who have to deal something similar, I would say Sikuli is a cheap and best option, as the source file is open to all. Thought AutoIt was our first option, we were unable to identify the Chrome extension using that. If you have an idea of how to perform a similar action using AutoIt, please feel free to comment! Thanks for reading!
About The Author
Aiswaria is an Automation Test Engineer with over 4 years of experience working in Software Testing field. Based in Sydney Aiswaria works for one of the reputed organisations here as an Automation Test Analyst. Aiswaria has extensive experience working with Selenium/ Java, and works with web and mobile applications also. He also has experience in designing and implementing Automation frameworks like Page Object Model, Data Driven and Hybrid (Data and Keyword Driven). His main area of expertise is Selenium/ Java/ TestNg/ Cucumber.