mercredi 25 septembre 2019

Illegal reflective access on selenium tests

I having a strange issue with my selenium test

When im opening my chrome browser im receiving 2 errors:

[1569419754.430][WARNING]: Timed out connecting to Chrome, retrying...

[1569419759.899][WARNING]: Timed out connecting to Chrome, retrying...

before the browser actually opens. I also noticed at the end of the test there are numerous warnings:

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.openqa.selenium.os.ProcessUtils

WARNING: Please consider reporting this to the maintainers of org.openqa.selenium.os.ProcessUtils

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

Ive tried updating the the

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

but it then broke all my tests and i couldnt initialize the browser, anyone else have this issue?

Aucun commentaire:

Enregistrer un commentaire