我面临着 Selenium 的两个问题。
1.- 在 windows 上启动浏览器时出错 --> Example::testMyTestCase
捕获屏幕截图时的问题:
Invalid response while accessing the Selenium Server at
'http://localhost:4444/selenium-server/driver/':
ERROR Server Exception: sessionId should not be null;
has this session been started yet?
Invalid response while accessing the Selenium Server at
'http://localhost:4444/selenium-server/driver/':
Failed to start new browser session: Error while launching browser
2.- 我在 Linux 上使用过 Selenium。使用 PHPunit 运行代码时,打开的浏览器窗口会自动关闭。执行后我需要查看日志详细信息。这需要什么设置吗?