Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Created June 13, 2024 16:49
Show Gist options
  • Save SarahElson/f525d0a5f76c7d7200c92c9d2e8651d6 to your computer and use it in GitHub Desktop.
Save SarahElson/f525d0a5f76c7d7200c92c9d2e8651d6 to your computer and use it in GitHub Desktop.
How To Handle Authentication PopUps in Selenium WebDriver
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>HandlingLoginPopup</groupId>
<artifactId>HandlingLoginPopup</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>HandlingLoginPopup</name>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.18.1</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.8.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment