It's up for you to decide!
Join the DZone community and get the full member experience.Join For Free
Selenium has been a pinnacle for open-source software in the industry of automated website testing. The automation testing framework is widely adopted by the testing community to help them in automating interactions with their web-application for desktops.
The only way to know the answers to these questions was to have them tested. I came up with interesting results. Which is why I am writing this article to share these results with you.
- Access and modify all the content visible on the web page such as text, images, videos or any other kind of private data.
- Access the cookies sent by the webserver.
- Request other servers for data capturing.
- Accessing files stored in your local system other than those uploaded on a web page.
- Accessing data from other web pages open in other tabs or on different browsers.
- Accessing and controlling the hardware capabilities of your system.
- Accessing any kind of stuff related to extensions and plugins which have been installed.
Let us take a scenario to understand this better.
Mike, a web developer, is a curious reader who wishes to keep him up-to-date on the latest technologies by reading blogs, webinars, video tutorials. Mike visited your website from the search engine and is curious to read your blog around cross-browser testing. The moment he lands on your website, he encounters a huge pop-up asking him to enroll in your newspaper. He closes the pop-up, clicks on your cross-browser testing article, and scroll further below. Now, he unintentionally clicked on sponsored content. As a result, a new tab opened which routed him somewhere he never wanted to be.
What Do You Think Mike Would Be Feeling Right Now?
Increase the Testing Speed
As a conclusion to this, you would get your testing results in every short period without any chances of getting your test flow disturbed because of any third party resources.
Ease of Accessibility
I will be demonstrating the process in two browsers i.e. Google Chrome and Mozilla Firefox to help you integrate the process in your cross-browser testing checklist. I would be using LambdaTest to help me access different browser without going through the trouble of installing them.
1. Google Chrome
- Right-click on a page and direct to Inspect Elements.
- Once you get the developer tools open, then press CTRL+SHIFT+P.
2. Mozilla Firefox
- Launch a browser and enter “about: config” in the URL address bar.
- Click on “I accept the risk!” to see the configurations.
Code To Run Automation Testing with Selenium In Mozilla Firefox
Code To Run Automation Testing with Selenium In Google Chrome
Opinions expressed by DZone contributors are their own.