taiko icon indicating copy to clipboard operation
taiko copied to clipboard

goto('about:blank') does not work

Open DrRuhe opened this issue 4 years ago • 0 comments

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)

DrRuhe avatar Oct 22 '21 10:10 DrRuhe