This commit is contained in:
Stephan Porada 2020-04-23 11:21:20 +02:00
parent 7efb16246f
commit 191f197b6c

View File

@ -395,7 +395,11 @@
// valid result page element from the new pagination. // valid result page element from the new pagination.
firstPageElement; firstPageElement;
xpath = '//a[@class="page" and text()=1]'; xpath = '//a[@class="page" and text()=1]';
firstPageElement = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; firstPageElement = document.evaluate(xpath,
document,
null,
XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue;
firstPageElement.click(); firstPageElement.click();
} catch (e) { } catch (e) {
} }