In addition to manipulating javascript alerts with Selenium WebDriver , would it be possible to invoke Selenium code runtime alerts in the browser?
I would like to create the 3 javascript alert types below using selenium :
-
alerta
-
confirmação
-
prompt de entrada.
To facilitate understanding ...
WebDriver driver = new ChromeDriver();
driver.get("https://www.w3schools.com/JS/");
I want to invoke the 3 alert types below with dynamic values.