![How to scroll until the web element is in the center of screen using Selenium + .Net + Java Script](http://3.bp.blogspot.com/-TSC-t4b1XvQ/UHWqOo4keDI/AAAAAAAAATo/DgshIsz1IBs/s1600/default.png)
Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts
September 14, 2022
September 5, 2022
![Thread.Sleep equivalent in Java Script (Node JS)](http://3.bp.blogspot.com/-TSC-t4b1XvQ/UHWqOo4keDI/AAAAAAAAATo/DgshIsz1IBs/s1600/default.png)
Thread.Sleep equivalent in Java Script (Node JS)
As we know, in Node JS the code is executed asynchronously. Asynchronous functions are functions that do not block the execution of the prog...March 8, 2022
![Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium](http://3.bp.blogspot.com/-TSC-t4b1XvQ/UHWqOo4keDI/AAAAAAAAATo/DgshIsz1IBs/s1600/default.png)
Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium
JavaScript is another way to interact with web elements when normal selenium methods fail to act. But one issue with javascript is, it does...December 29, 2020
![How to Fix org.xml.sax.SAXParseException; * The reference to entity "type" must end with the ';' delimiter error](http://3.bp.blogspot.com/-TSC-t4b1XvQ/UHWqOo4keDI/AAAAAAAAATo/DgshIsz1IBs/s1600/default.png)
How to Fix org.xml.sax.SAXParseException; * The reference to entity "type" must end with the ';' delimiter error
org.xml.sax.SAXParseException; * The reference to entity "type" must end with the ';' delimiter This error happens when ...November 24, 2019
![Java script helpers for selenium actions](http://3.bp.blogspot.com/-TSC-t4b1XvQ/UHWqOo4keDI/AAAAAAAAATo/DgshIsz1IBs/s1600/default.png)
Java script helpers for selenium actions
We come across several scenarios where we cannot some actions on webelemets using selenium libraries only. In such cases we have another ...Verify Zip file contents without extracting using C# + Selenium
While doing automation testing, we may get a scenario where we need to download a zip file and to validate the contents inside it. One way t...