
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Debomita Bhattacharjee has Published 863 Articles

Debomita Bhattacharjee
12K+ Views
We can get page source as it is in browser using Selenium webdriver using the getPageSource method. It allows us to obtain the code of the page source.SyntaxString p = driver.getPageSource();We can also obtain the page source by identifying the body tag with the help offindElement method and then apply ... Read More

Debomita Bhattacharjee
3K+ Views
We can get the attribute value of a web element with Selenium webdriver using the method getAttribute and then pass the attribute for which we want to get the value as a parameter to that method.In an html code, an element is defined with attributes and its values in a ... Read More

Debomita Bhattacharjee
548 Views
Some of the prominent drawbacks of Selenium are listed below −Has assistance for only web oriented applications.Time consuming to configure the environment unlike the paid tools like UFT.Has no features provided by Test Management tools like ALM or UFT.New characteristics introduced in Selenium, sometimes do not work as expected.Has no ... Read More

Debomita Bhattacharjee
6K+ Views
We can find an element that contains specific text with Selenium webdriver in Python using the xpath. This locator has functions that help to verify a specific text contained within an element.The function text() in xpath is used to locate a webelement depending on the text visible on the page. ... Read More

Debomita Bhattacharjee
2K+ Views
We can open a link in the new tab of Chrome browser using Selenium webdriver using the methods Keys.chord and sendKeys. The method Keys.chord is used to send multiple keys simultaneously as parameters.To open a new tab, the Keys.CONTROL and Keys.ENTER are passed as parameters to the Keys.chord. Finally, the ... Read More

Debomita Bhattacharjee
2K+ Views
The methods findElement and findElements are used to identify elements on the webpage. Both these methods can be used with locators like id, css, class, name, xpath, css, link text, tagname and partial link text.The method findElement is used to identify an element which matches with the locator (used with ... Read More

Debomita Bhattacharjee
1K+ Views
We can find an element using the element tag name with Selenium webdriver with the help of locator tagname. To locate an element with tagname, we have to use the By.tagName method.In the html code, a tagname is usually enclosed by , for example, an anchor tag represents links ... Read More

Debomita Bhattacharjee
4K+ Views
An IllegalStateException is thrown while working with Chrome browser if the chromedriver.exe file path is set incorrectly in the method System.setProperty. Once this executable file is downloaded, it has to be extracted. Then its path should be copied and added as a parameter to the System.setProperty method.SyntaxSystem.setProperty("webdriver.chrome.driver", "C:\Users\ghs6kor\Desktop\DebomitaJava\chromedriver.exe")Also, it must ... Read More

Debomita Bhattacharjee
520 Views
We can find elements using Selenium webdriver with the help of the findElements method. This can be applied to the locators like id, class, name, link text, partial link text, css, xpath and tagname.The findElements method returns a list of elements which match with the locator (with the By object) ... Read More

Debomita Bhattacharjee
21K+ Views
We can check if the element is clickable or not in Selenium webdriver using synchronization. In synchronization, there is an explicit wait where the driver waits till an expected condition for an element is met.To verify, if the element can be clicked, we shall use the elementToBeClickable condition. A timeout ... Read More