javafx and selenium ?
Answered
Hello,
I am trying to work with both selenium and javafx.
I created javafx project and added these dependencies to pom.xml:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
<version>4.22.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.22.0</version>
</dependency>
I added to module-info.java:
requires selenium.java;
requires org.seleniumhq.selenium.api;
requires org.seleniumhq.selenium.chrome_driver;
I get error “java: module not found: selenium.java”
I will be grateful for any comments on how to solve this.
Thanks :-)
Please sign in to leave a comment.
I managed to solve my problem using the sample HelloFX/Maven in javafx samples.