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?
const html = await this.page.findBySelector('html');// nullconst body = await this.page.findBySelector('body');// nullIt 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?