To go around click-related problem (item is not selected from selection list when test is run in a server) I have tried to use ‘Click With Options’- and ‘Wait For Load State’-keywords mentioned in the documentation of Browser library 18.5.1
However, although I am using the same Browser library version (checked by a command: pip show robotframework-browser) I get an error message:
No keyword with name ‘Wait For Load State’ found. Did you try using keyword ‘Browser.Wait For’ and forgot to use enough whitespace between keyword and arguments?
Therefore I wonder if the documentation is wrong or if my update effort for Browser library has failed somehow.
To update the browser library into my Windows10 workstation I used following commands:
pip install --upgrade robotframework-browser
rfbrowser clean-node
rfbrowser init
Any ideas what the core reason for the problem could be and how to fix it?
As I wrote into my explanation, I had already checked the version number by using command pip show robotframework-browser. Anyhow, I checked it also now from version.py file locating in \Lib\site-packages\Browser -folder - and it was the same 18.5.1
Thank you for your reply. I’m using PyCharm Community Edition as my IDE and it appeared that you were right. When I started the same command in Command prompt (>robot -v ta_OwnLibsPath:… -v URL:…l -v STARTDELAY:0 -d results --loglevel TRACE:INFO --exitonfailure PalvelussuhteenPaattaminen.robot) what I run from PyCharm it found the earlier missing keyword. The only problem is that now my script fails already earlier in normal click command because of ‘missing’ id…
Anyhow, it’s now clear that there are some differences when running the script from IDE comparing to running it from command prompt. I have to investigate the matter more, but thank you for a valuable hint.