Closed Moujib-automate closed 7 months ago
I will need more detail and context on that. Can you provide the page where you want to scroll and a screenshot of the element you want to scroll to. That could be a wrong xpath or iframe issue. Anyway you can always try to get around that issue by scrollTo using a text or using keyPress action with page down.
@vertigo17
We have the same issue here : #2450
Cerberus mark it at passed but he didnt do the action
If we put the scroll with the text
Cerberus didnt manage to do the action either.
Can you put the URL that you open and the xpath in text mode so that I try to reproduce ? Thanks.
Can you put the URL that you open and the xpath in text mode so that I try to reproduce ? Thanks.
xpath=(//*[@class="adeo-section fullwidth bg-darkblue padded"])[1]
or
text : À LA UNE
Thanks. I managed to reproduce. I will come back to you.
Issue should be fixed. Don't hesite to reopen is not the case on latest master.
Hi, the issue seems to be still present on 4.18
The scroll doesn't work but there is no error from cerberus. To reproduce :
open url :
https://www.laredoute.it/ppdp/prod-350309180.aspx
reject cookies by cliking on:
//*[@id="popin_tc_privacy_button_2"]
scroll to :
//button[contains(@class,'product-rating-open-language')]//span
there is a bypass by using javascrip :
document.evaluate("XPATH HERE", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.scrollIntoView();
and example: document.evaluate("//*[@data-cerberus='color']", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.scrollIntoView();
Hello,
we noticed that the command Scroll TO is not working ; it is performing a wait instead as shown in the screenshot
Cerberus Version : 4.16-1747