SELENIUM 4 : Upgrade for JMeter 5.4.2

197 views
Skip to first unread message

Jean-Marie Markowski

unread,
Jan 3, 2022, 7:00:42 AM1/3/22
to jmeter-plugins
Hello everybody,
I have only one question about Plug-In SELENIUM
It's possible to update to selenium 4
Thanks,

Ade Wale

unread,
Jan 3, 2022, 7:28:52 AM1/3/22
to jmeter-...@googlegroups.com
Yes, give it a try. 

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/72144154-b6e9-4622-b519-9e01cb8b25b1n%40googlegroups.com.

DT

unread,
Jan 3, 2022, 11:14:33 AM1/3/22
to jmeter-plugins
You can install it manually like:
  1. Download latest version of jmeter-plugins-webdriver and drop it to "lib/ext" folder of your JMeter installation
  2. Install Apache Maven
  3. Create a maven project, see below for example pom.xml
  4. Execute mvn dependency:copy-dependencies command
  5. Copy all .jar files from target/dependency folder to "lib" folder of your JMeter installation
  6. Restart JMeter to pick up the jars
  7. You should be able to use Selenium 4 with JMeter's WebDriver Sampler plugin now
<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.example</groupId>
<artifactId>untitled</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.1.1</version>
</dependency>
</dependencies>

</project>

Reply all
Reply to author
Forward
0 new messages