47270/what-are-some-the-common-exceptions-one-could-face-selenium
Hey Monisha, some of the common Selenium Exceptions are as follows:
WebDriver driver = new InternetExplorerDriver(); driver.get("http://google.com"); driver.close(); driver.quit();
try{ driver.switchTo().alert().accept(); } catch (NoAlertPresentException E){ E.printStackTrace(); }
WebDriver driver = new InternetExplorerDriver(); driver.get("http://google.com"); driver.switchTo().window("Yup_Fail"); driver.close();
WebDriver driver = new InternetExplorerDriver(); driver.get("http://google.com"); driver.switchTo().frame("F_fail"); driver.close();
WebDriver driver = new InternetExplorerDriver(); driver.get("http://google.com"); driver.findElement(By.name("fake")).click();
Hi Nakul, some of the most frequently ...READ MORE
In selenium Assertion is nothing but a ...READ MORE
There are mostly 5 different types of ...READ MORE
Hi Divya, in Selenium Locators define an ...READ MORE
The better way to handle this element ...READ MORE
enable trusted connection in internet explorer by ...READ MORE
To Allow or Block the notification, access using Selenium and you have to ...READ MORE
xpath are two types. 1) Absolute XPath: /html/b ...READ MORE
Hi Moray, limitations of selenium webdriver are ...READ MORE
Selenium life cycle has following 5 phases: Test ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.