Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goto('about:blank') does not work #2371

Closed
DrRuhe opened this issue Oct 22, 2021 · 0 comments · Fixed by #2376
Closed

goto('about:blank') does not work #2371

DrRuhe opened this issue Oct 22, 2021 · 0 comments · Fixed by #2376

Comments

@DrRuhe
Copy link

DrRuhe commented Oct 22, 2021

To Reproduce

openBrowser()
goto('about:blank')

Logs

Version: 1.2.7 (Chromium: 88.0.4314.0)
Type .api for help and .exit to quit

> openBrowser()
 ✔ Browser opened
> goto('about:blank')
 ✘ Error: Cannot navigate to invalid URL, run `.trace` for more info.
'Error: Cannot navigate to invalid URL
' +
  '    at /usr/local/lib/node_modules/taiko/node_modules/chrome-remote-interface/lib/chrome.js:94:35
' +
  '    at Chrome._handleMessage (/usr/local/lib/node_modules/taiko/node_modules/chrome-remote-interface/lib/chrome.js:257:17)
' +
  '    at WebSocket.<anonymous> (/usr/local/lib/node_modules/taiko/node_modules/chrome-remote-interface/lib/chrome.js:235:22)
' +
  '    at WebSocket.emit (node:events:390:28)
' +
  '    at WebSocket.emit (node:domain:537:15)
' +
  '    at Receiver.receiverOnMessage (/usr/local/lib/node_modules/taiko/node_modules/ws/lib/websocket.js:983:20)
' +
  '    at Receiver.emit (node:events:390:28)
' +
  '    at Receiver.emit (node:domain:537:15)
' +
  '    at Receiver.dataMessage (/usr/local/lib/node_modules/taiko/node_modules/ws/lib/receiver.js:517:14)
' +
  '    at /usr/local/lib/node_modules/taiko/node_modules/ws/lib/receiver.js:468:23'

Expected behavior
it opens the about:blank page

Versions:

  • Taiko: Version: 1.2.7 (Chromium: 88.0.4314.0) RELEASE
  • OS PopOS! 20.04 LTS
  • Node.js v16.11.0
Gauge version: 1.4.1
Commit Hash: a82478a

Plugins
-------
html-report (4.1.2)
java (0.7.15)
js (2.3.17)
screenshot (0.1.0)
ts (0.1.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant