Find objects outside the monitor area

Hello … Good night!

How to find objects outside the monitor area?

Does anyone have any suggestions?

Below example image.

@marcelbrn if the objects are outside of the screen area the strategy is usually to scroll to the area of interest until you find what you are looking for.

You can make a while loop with a find and if it is not found you keep scrolling until the end of the page or some other stop condition that you may have.

Unfortunately the bot can’t detect objects outside of the screen for Desktop Automations. If this is a Web automation you can try to find the element using the DOM and the proper selector to interact with it.

Let me know if this helps.

Hey good afternoon!

I did something similar but it doesn’t work, it seems to me that the self.scroll_down(1) function is not working.

Follow the image below:

1 Like

For the scroll, 1 click is basically nothing… try increasing this number to something like 500.

I had tested with numbers from 1 to 10 and I didn’t see any results, but with 600 it solved my problem.

Another question, scroll down and up I use the scroll_down and scroll_up functions, and for the sides do you have any function where I can go right or left?

@marcelbrn not yet. But you can try to press left or right keys and that should yield the same effect.

if you’re talking about the type_left and type_right functions, I tested it and didn’t get any results, including the scroll_up function.

I don’t know if I’m using the function correctly.

Image below:
find_img_botcity3