Hello, I am trying to click on a search bar button. I am using python RF browser library. So far, I’ve tried Click With Options, Mouse Button, and xpath but none seems to do the trick.
Code line is preceded by:
Fill Text id=searchfor product
How does your Click Keyword look like?
What do you use as an argument for the locator?
What error message do you get?
Looking at your html, something like
Click id=px_search_button_click
should work
To try out different locators and keywords during runtime, I recommend to use VS Code as an IDE together with the RobotCode Extension and Debug your test case.
This will give you the chance to execute any Robot Framework commands while the test run is executed step by step.
If that all does not work, you could check in the Developer Tools if the button is inside an iframe element for whatever reason. Then you can use the iframe syntax of the Browser Library using >>>
I often go into Debug mode and try out my locators using the Highlight Elements Keyword, when having problems to find elements