flagpole icon indicating copy to clipboard operation
flagpole copied to clipboard

Using "not" throws "TypeError: Converting circular structure to JSON"

Open johnsickels opened this issue 4 years ago • 0 comments

const div = await context.exists("div");
context.assert("Should be a div", div).not.equals(null);

provides

✕  TypeError: Converting circular structure to JSON --> starting at object with constructor 'BrowserContext' |     property '_browser' -> object with constructor 'Browser' --- property '_defaultContext' closes the circle

johnsickels avatar Oct 21 '21 14:10 johnsickels