我需要访问本网站上搜索结果的链接(https://www.pibr.org.pl/pl/search/auditor?biegli=1&firmy=1&name=&post_code=&city=Warszawa)并将它们放入WebElement
,但我无法按类或任何东西找到它们。使用时xpath
:
MyWebDriver.findElement(By.xpath("//div[@class=inner-results firma]")).click();
我收到此错误:
"Given xpath expression "//div[@class=inner-results firma]" is invalid: SyntaxError: The expression is not a legal expression."
如何访问所有结果链接?
ibeautiful
叮当猫咪
aluckdog
相关分类