wait a little between opening the tweet area and finding it
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
This commit is contained in:
parent
5e6c764ae4
commit
2518fca99d
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ let tweet ctx msg =
|
||||||
else List.nth l 0
|
else List.nth l 0
|
||||||
in
|
in
|
||||||
click ctx.session_id tweet_button;
|
click ctx.session_id tweet_button;
|
||||||
|
Unix.sleep 2;
|
||||||
let tweet_area =
|
let tweet_area =
|
||||||
match find ctx.session_id (CSS "div[data-testid='tweetTextarea_0']") with
|
match find ctx.session_id (CSS "div[data-testid='tweetTextarea_0']") with
|
||||||
| [] -> raise (Any (fmt "Tweet area not found"))
|
| [] -> raise (Any (fmt "Tweet area not found"))
|
||||||
|
|
Loading…
Reference in a new issue