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
Let's says i have a radio button that is grayed out, the test is to make sure that the button is grayed out. Below doesnt return the value since it is expecting some value from the output.
// check btn was clicked (this page expected btn to change text of output)
const outputSpan = await page.$("shadow/.output");
const text = await page.evaluate((output) => output.innerText, outputSpan);
// prints the text from the output
console.log(text);
Is there a way to find out if the button is grayed out.
<input _ngcontent-qre-c24="" type="checkbox" id="nonParSelector" class="grv-checkbox grv-margin__left--small" disabled="">
If it is not grayed it looks like this
<input _ngcontent-kof-c24="" type="checkbox" id="nonParSelector" class="grv-checkbox grv-margin__left--small">
Thank you
The text was updated successfully, but these errors were encountered:
Let's says i have a radio button that is grayed out, the test is to make sure that the button is grayed out. Below doesnt return the value since it is expecting some value from the output.
Is there a way to find out if the button is grayed out.
<input _ngcontent-qre-c24="" type="checkbox" id="nonParSelector" class="grv-checkbox grv-margin__left--small" disabled="">
If it is not grayed it looks like this
<input _ngcontent-kof-c24="" type="checkbox" id="nonParSelector" class="grv-checkbox grv-margin__left--small">
Thank you
The text was updated successfully, but these errors were encountered: