Hi Experts
I am running ROBOT framework in Centos 7.5 in EC2 instance. when executing Robot-Browser library got below error. Could some one point me how I can resolve this issue.
I am trying to open a new browser in headless mode and going to New Page and clicking on a link.
Dependencies
- Python 3.7.9
- Nodejs 14
- Install robotframework-browser from the commandline:
pip install robotframework-browser
- Install the node dependencies: run
rfbrowser init
in your shell
Error
[ WARN ] Keyword ‘Take Screenshot’ could not be run on failure:
Tried to take screenshot, but no page was open.
To Test secureAuth Popup | FAIL |
browserType.launch: Host system is missing dependencies!
Missing libraries are:
libatk-1.0.so.0
libatk-bridge-2.0.so.0
libx11.so.6
libx11-xcb.so.1
libxcb.so.1
libcups.so.2
libdrm.so.2
libxkbcommon.so.0
libxcomposite.so.1
libxdamage.so.1
libxext.so.6
libxfixes.so.3
libxrandr.so.2
libgtk-3.so.0
libgdk-3.so.0
libpango-1.0.so.0
libcairo.so.2
libgdk_pixbuf-2.0.so.0
libgbm.so.1
libasound.so.2
libatspi.so.0
Note: use DEBUG=pw:api environment variable and rerun to capture Playwright logs.