24/10/2025
Please follow the link to know details about Selenium WebDriver:
#seleniuminsight #selenium #webdriver #qa #testautomation #webautomation | Prabhat Saurabh
#7.4 Selenium Component - WebDriver (2.0) WebDriver is designed to provide a simpler, more concise programming interface in addition to addressing some limitations in the Selenium-RC API. Selenium-WebDriver was developed to better support dynamic web pages where elements of a page m...
17/10/2025
Please Like, View, Share, Comment to develop basics to advance knowledge base on AI ML concepts.
https://www.facebook.com/share/1DbxUYthSx/
AIMLInsight
This page is intended to provide knowledge base on Artificial Intelligence (AI), Machine Learning, Agentic/Generative AI Systems and how these can be beneficial to achive the objective in today's fast track era !!!
17/07/2024
https://www.facebook.com/profile.php?id=61562663833622&mibextid=ZbWKwL
Appium Insight
This page is intended to provide knowledge on Appium tools around Mobile Automation and Testing !!!
13/11/2018
Hi Guys n Gals !!!
Thanks for such an overwhelming response !!! 👌
We are about to touch 1000 👍 likes as it's already crossed 950+ mark.
Now it's time to get the feedback from you all so that I can help and assist you in more productive way.
Feel free to respond to this post with your feedbacks and suggestions, if any ---> I need to know what exactly my audience needs out of this page, so that I can work in that direction.
Cheers !!! 👍☺️
05/02/2018
Hi Everyone... Thank you for all your support and appreciation.
LIKES > 300++
👌👍
30/09/2017
Thanks to all making the Likes cross 200+. Many more stuffs to come in recent days. Stay tuned... 👍
Selenium Insight
This page intent to provide a Platform for a Fresher as well as for an Experienced professional to Learn & Deliver the SELENIUM Web-Automation process !!!
04/04/2017
#8.8.1 Actions Class: Generic APIs cont...
21. release() – this API is used to release the already PRESSED Left Mouse button at the current location
Method Signature: public Actions release() {…}
Method Call: actions.release().perform();
22. release(WebElement webElement) – this API is used to release the already PRESSED Left Mouse button at the middle of the referenced WebElememt. This is equivalent to: actions.moveToElement(webElement).release().build().perform();
Method Signature: public Actions release(WebElement webElement) {…}
Method Call: actions.release(webElement).perform();
23. sendKeys(CharSequence value) – this API is used to send keys (e.g. text to a textbox) to the current active WebElement.
Method Signature: public Actions sendKeys(Char Sequencevalue) {…}
Method Call: actions.sendKeys().perform();
24. sendKeys(WebElement webElement, CharSequence value) - this API is used to send keys (e.g. text to a textbox) to the referenced WebElement. This call is equivalent to: actions.click(webElement).sendKeys().build().perform():
Method Signature: public Actions sendKeys(WebElement webElement, CharSequence value) {…}
Method Call: actions.sendKeys(webElement, ).perform();
01/04/2017
#8.8.1 Actions Class: Generic APIs cont...
16. moveByOffset(int xOffSet, int yOffSet)– this API is used to move the cursor from its current location (or from 0,0) by the given offset. For xOffset, -ve value means to move LEFT and for yOffset, -ve value means to move UP.
Method Signature: public Actions moveByOffset(int xOffset, int yOffset) {…}
Method Call: actions.moveByOffset(20,20).perform();
Exception thrown: MoveTargetOutOfBoundException – if the offset provided is out of the document’s boundary
17. moveToElement(WebElement webElement)– this API is used to move the cursor to the middle of the referenced WebElement from its current location.
Method Signature: public Actions moveToElement(WebElement webElement) {…}
Method Call: actions.moveToElement(webElement).perform();
18. moveToElement(WebElement webElement, int xOffSet, int yOffSet)– this API is used to move the cursor to the given offset from the top-left corner of the referenced WebElement.
Method Signature: public Action moveToWebElement(WebElement webElement, int xOffset, int yOffset) {…}
Method Call:actions.moveToElement(webElement, 10, 10) .perform();
19. pause(long milliseconds)– this API is used to make a pause to the ex*****on flow for the given amount of milliseconds (passed as a parameter to this API) irrespective of the situation and scenario. It is DEPRECATED now and so is not recommended to use.
Method Signature: public Actions pause(long milliseconds) {…}
Method Call: actions.pause(5000).perform();
20. perform()– This is used when we want to perform a single action but not multiple (for multiple-sequential action we need to make use of …build().perform();). When we call perform() API , build() API gets called internally before executing perform().
Method Signature: public Actions perform() {…}
Method Call: actions..perform();
28/03/2017
#8.8.1 Actions Class: Generic APIs cont...
12. keyDown(Keys key)–this API is used to perform a KEY PRESS (without release) operation on any of the MODIFIER key (Keys.SHIFT, Keys.ALT or Keys.CONTROL). Once this API is called , all the subsequent interactions assume that it’s kept pressed until a call to the following API is made (either keyUp() or sendKeys(Keys.NULL))
Method Signature: public Actions keyDown(Keys theModifierKey) {…}
Method Call: actions.keyDown(Keys.CONTROL).perform();
Exception Thrown: IllegalArgumentException is thrown, if the key passed is not a MODIFIER key
13. keyDown(WebElement webElement, Keys key)–this API is used to perform a MODIFIER key press after focusing on any WebElement and is equivalent to: actions.click(webElement).sendKeys(theModifierKey);
Method Signature: public Actions keyDown(WebElement webElement, Keys theModifierKey) {…}
Method Call: actions.keyDown(webElement, Keys.CONTROL).perform();
Exception Thrown: IllegalArgumentException is thrown, if the key passed is not a MODIFIER key
14. keyUp(Key key)–this API is used to release the already pressed MODIFIER key and if tried to release any MODIFIER key which is not PRESSED state – it shows an undefined behavior.
Method Signature: public Actions keyUp(Keys thePressedModifierKey) {…}
Method Call: actions.keyUp().perform();
15. keyUp(WebElement webElement, Keys key)–this API is used to release the already PRESSED MODIFIER key after focusing on any WebElement and shows an undefined behavior when tried to release any MODIFIER key which is not in PRESSED state. This is equivalent to: actions.clcik(webElement).sendKeys(thePressedModifierKey);
Method Signature: public Actions keyUp(WebElement webElement, Keys thePressedModifierKey) {…}
Method Call: actions.keyUp(webElement, ).perform();
07/03/2017
WAIT is OVER!!!
https://www.facebook.com/prabhat.saurabh.TestngInsight1.0/
Testng Insight
This page intent to provide a platform to Learn and at the same time to Deliver the Test Automation knowledge with TestNG Annotations and Configuration .
06/03/2017
Coming soon... TestNG Insight FB page - A Testing tool that can help to achieve a lot more effective Test Automation framework using Selenium-Java... Stay tuned.👍
26/08/2016
#8.8.1 Actions Class: Generic APIs cont...
6. contextClick() – this API is used to perform a CONTEXT-CLICK at the current MOUSE location
Method Signature: public Actions contextClick(){…}
Method Call: actions.contextClick().perform();
7. contextClick(WebElement webElement) – this API is used to perform a CONTEXT-CLICK on the middle of the referenced WebElement
Method Signature:public Actions contextClick(WebElement wB){…}
Method Call: actions.contextClick(wB).perform();
Note: contextClick(…) API can be used when we need to perform a RIGHT-CLICK operation on any WebElement
8. doubleClick() – this API is used to perform a DOUBLE-CLICK operation at the current MOUSE location
Method Signature: public Actions doubleClick(){…}
Method Call: actions.doubleClick().perform();
9. doubleClick(WebElement webElement) – this API is used to perform DOUBLE-CLICK operation at the middle of the referenced WebElement
Method Signature:public Actions doubleClick(WebElement wB){…}
Method Call: actions.doubleClick(webElement).perform();
10. dragAndDrop(WebElement source, WebElement target) – this API is used to DRAG the SOURCE WebElement and DROP it at the TARGET location.
Method Signature: public Actions dragAndDrop(WebElement source, WebElement target(){…}
Method Call: actions.dragAndDrop(source,target).perform();
11. dragAndDropBy(WebElement source, int xOffset, int yoffSet) –this API is used to pick the SOURCE WebElement and release it to the mentioned x-y offset/coordinates.
Method Signature: public Actions dragAndDrop(WebElement webElement, int xOffset, int yOffset){…}
Method Call: actions.dragAndDrop(webElement, 10,10).perform();