--
You received this message because you are subscribed to the Google Groups "selenide" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenide+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenide/c8774cdb-34c7-4665-8e15-911de667044f%40googlegroups.com.
Hi.As a quick solution, you can just upgrade to latest Selenide 5.10.0But I recommend to understand why you are getting this error.It happens because you are calling $ or $$ method BEFORE opening a webdriver. Typically it happens when you use static fields which is a bad test design.Andrei Solntsev
вт, 31 мар. 2020 г. в 01:28, Alexander Raichman <alex...@gmail.com>:
Hi,--I'm using Selenide with appium for my mobile tests.Since I upgraded Selenide to the last version I have the following problem:I create driver before I start test suite (AndroidDriver<MobileElement> or IOSDriver<MobileElement>) and before tests start I call for the function WebDriverRunner.setWebDriver() with created driver.But when I want to use Selenide functions (like $()) I get the following message: "No webdriver is bound to current thread. You need to call open(url) first."In previous versions it worked fine.Can someone please help?Thanks!I use Tesng 7.1.0, Selenide 5.1.0, Appium 7.3.0
You received this message because you are subscribed to the Google Groups "selenide" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sele...@googlegroups.com.
Thank you for the answer, Andrei.I have no static fields in my code.However, I found, that in TestNG XML files, if I remove time-out attribute from the suite element everything works fine.
I don't know why , but it fixed this issue.
On Tuesday, 31 March 2020 11:00:34 UTC+3, Andrei Solntsev wrote:
Hi.As a quick solution, you can just upgrade to latest Selenide 5.10.0But I recommend to understand why you are getting this error.It happens because you are calling $ or $$ method BEFORE opening a webdriver. Typically it happens when you use static fields which is a bad test design.Andrei Solntsev
вт, 31 мар. 2020 г. в 01:28, Alexander Raichman <alex...@gmail.com>:
Hi,--I'm using Selenide with appium for my mobile tests.Since I upgraded Selenide to the last version I have the following problem:I create driver before I start test suite (AndroidDriver<MobileElement> or IOSDriver<MobileElement>) and before tests start I call for the function WebDriverRunner.setWebDriver() with created driver.But when I want to use Selenide functions (like $()) I get the following message: "No webdriver is bound to current thread. You need to call open(url) first."In previous versions it worked fine.Can someone please help?Thanks!I use Tesng 7.1.0, Selenide 5.1.0, Appium 7.3.0
You received this message because you are subscribed to the Google Groups "selenide" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sele...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenide/c8774cdb-34c7-4665-8e15-911de667044f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "selenide" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenide+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenide/e943e69d-57c7-477d-a935-ea24f09c7e8e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenide/e943e69d-57c7-477d-a935-ea24f09c7e8e%40googlegroups.com.