For the first time I work with Java and Intelij idea , and indeed with Selenide too. First used с# with the studio and visited Selenium . I did everything according to the instructions (improvisation) with the connection of the selenide library, everything compiles without errors, but the elementary test itself does not work, who can help please?
Error:
java.lang.NoClassDefFoundError: org / openqa / selenium / SearchContext
Maven and other incomprehensible "words" did not use, stupidly created a new project, hooked up an external library and wrote the code:
import org.junit.jupiter.api.Test; import static com.codeborne.selenide.Selenide.*; public class MyTest { @Test public void firstTest(){ open("http://www.google.com"); } }
$(".lol").setValue("lolo");it knocks out the error:Error:(10, 9) java: cannot access org.openqa.selenium.WebElement class file for org.openqa.selenium.WebElement not found- Awesome7997