Does WrapsDriver still exist?

Hello, I’m trying to write a test in which the information (cookies?) from one session (within the same test) are saved so that when the browser closes and reopens during the test the user is still logged into the website and doesn’t need to login again.

However, when I import org.openqa.selenium.internal.WrapsDriver in this test, WrapsDriver is slashed through, and I get this message:

Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.

The same goes for com.thoughtworks.selenium.SeleneseTestBase (SeleneseTestBase is crossed out). In the script itself .getWrappedDriver() is underlined.

So far I have tried:

  • importing org.openqa.selenium.internal.WrapsDriver.getWrappedDriver()
  • googling and looking at multiple sources to no avail

Any help would be amazing!

I solved my own problem. Added a bunch of external jar files to my project including selenium ones, and j-unit. I’m not sure if this was the issue however. Because once I hit “Ctrl-Shift-O” everything started working like a charm. Thanks!

3 Likes