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
I'm sure the frame is right.
If I look for "value", I can find:
val=frame.getAttribute('input[value="abcd"]', 'value',2000)
print('val:',txt) =>result val:abcd
thank you
The text was updated successfully, but these errors were encountered:
playwright python
" <td clospan="4" value="abcd">abcdefg </td> "
frame=page.querySelector('//iframe[contains(@src,"jktj/tolist")]').contentFrame()
txt=frame.getAttribute('input[value="abcd"]', 'text',2000)
print('text:',txt) =>result text: None
I'm sure the frame is right.
If I look for "value", I can find:
val=frame.getAttribute('input[value="abcd"]', 'value',2000)
print('val:',txt) =>result val:abcd
thank you
The text was updated successfully, but these errors were encountered: