94703/when-run-this-code-browser-does-appear-flashes-and-disappears
package selenium1; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class OpenBrowser { public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "C:/Users/karappanl/eclipse-workspace/TestSelenium1/driver/chromedriver.exe"); WebDriver driver = new ChromeDriver(); driver.get("https://edureka.co/"); driver.close(); } }
Hello,
The driver. close() command is used to close the current browser window having focus.
In case there is only one browser open then calling driver. close() quits the whole browser session. So have a look on drive.close().
Hope it helps!!
The line of code seems to work ...READ MORE
I am in my first class now. ...READ MORE
In my utils have created the below ...READ MORE
For a headless browser, you have to set ...READ MORE
Error is throwing as Element not found ...READ MORE
This is a flaw with ChromeDriver. Tried ...READ MORE
Hey @kappa3010, you can try this. Though ...READ MORE
Hi eLiJha, I also faced the same issue ...READ MORE
Hello @kanikahans, You need to define Extent Report ...READ MORE
Hello @Divya, You can refer this regarding your ...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.