我已将geb核心更新为编译“org.gebish:geb-core:0.10.0”从那时起我的错误
org.openqa.selenium.InvalidSelectorException:
Locator Strategy 'css selector' is not supported for this session (WARNING: The server did not provide any stacktrace information)
代码
static content = {
welcomeMessage {$("welcome_message")} // here occurs error org.openqa.selenium.InvalidSelectorException:
}
“$(”welcome_message“)”是我找不到的元素,但它显示在屏幕上。我遵循geb语法它看起来一样。
我尝试使用以下语法,但仍然无效