You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const html = await this.page.findBySelector('html'); // null
const body = await this.page.findBySelector('body'); // null
It seems like a simple way to check <html> attributes, but this selector can only find elements inside the <body> tag.
Developers often use additional classes and attributes on <html> and <body> elements.
Is there is another way to check <html> attributes?
The text was updated successfully, but these errors were encountered:
const html = await this.page.findBySelector('html');
// null
const body = await this.page.findBySelector('body');
// null
It seems like a simple way to check
<html>
attributes, but this selector can only find elements inside the<body>
tag.Developers often use additional classes and attributes on
<html>
and<body>
elements.Is there is another way to check
<html>
attributes?The text was updated successfully, but these errors were encountered: