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
When I commented the line '<-time.After(5 * time.Second) ', the text printed below was blank, because the text had not shown up on the page yet, but the html printed above already had the text.
What you expect to see
Since I have selected the element by ElementX() successfully, the element should have the correct text as expected no matter it has shown on the page or not.
What have you tried to solve the question
I know it is reasonable, but it seems to be so wild at first sight and has caused some problems to my code.
Hope someone can explain this and help me out, thanks a lot.
The text was updated successfully, but these errors were encountered:
Rod Version: v0.116.2
The code to demonstrate your question
Test code
go.mod
What you got
When I commented the line '<-time.After(5 * time.Second) ', the text printed below was blank, because the text had not shown up on the page yet, but the html printed above already had the text.
What you expect to see
Since I have selected the element by ElementX() successfully, the element should have the correct text as expected no matter it has shown on the page or not.
What have you tried to solve the question
I know it is reasonable, but it seems to be so wild at first sight and has caused some problems to my code.
Hope someone can explain this and help me out, thanks a lot.
The text was updated successfully, but these errors were encountered: