sclevine / agouti

A WebDriver client and acceptance testing library for Go
MIT License
822 stars 105 forks source link

Chrome 75: getting error "invalid argument: missing command parameters" on several APIs #188

Open lz000 opened 5 years ago

lz000 commented 5 years ago

Since Chrome 75, there are a number of APIs start to throw error "invalid argument: missing command parameters". The issue does not happen on Chrome 74. As far as I tested, the following API are impacted: func (p Page) Refresh() func (p Page) ConfirmPopup() func (p *Page) SwitchToParentFrame()

rubda commented 5 years ago

Experiencing the same issue for:

func (s *Selection) Fill(text string) error
func (p *Page) Click(event Click, button Button) error

EDIT: Our issue was resolved by this: https://chromedriver.storage.googleapis.com/index.html?path=75.0.3770.90/

---------ChromeDriver 75.0.3770.90 (2019-06-13)---------
Supports Chrome version 75
Resolved issue 2943: goog:chromeOptions.w3c=false doesn't work for POST request with empty body [Pri-1]
Resolved issue 2947: No W3C compliant endpoints for retrieving logs [Pri-2]
Resolved issue 2622: Clear Element command raises blur event twice [Pri-2]
Resolved issue 2803: Capability name loggingPrefs is not spec compliant [Pri-2]
Resolved issue 2536: Make standards mode (goog:chromeOptions.w3c:true) the default [Pri-2]
Resolved issue 2836: Error handling in W3C mode [Pri-2]
Resolved issue 2414: Creating cookies without leading dot in the domain results in host-only cookies [Pri-2]
Resolved issue 2796: ChromeDriver should allow null for script timeout [Pri-2]
Resolved issue 2721: Element Send Keys to file input with 'multiple' attribute should append file list [Pri-3]
Resolved issue 2850: Get Active Element should return "no such element" error when no active element exists [Pri-3]
Resolved issue 2851: Navigate to malformed URL should raise "invalid argument" error [Pri-3]
Resolved issue 2857: ChromeDriver returns wrong HTTP status code when invalid session id is received [Pri-3]
Resolved issue 2719: When input parameter is missing or malformed, ChromeDriver response is not spec compliant [Pri-3]
Resolved issue 2746: Execute Script does not handle line-oriented JavaScript comment [Pri-3]