wait a little between opening the tweet area and finding it
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-05-16 13:10:04 +02:00
parent 5e6c764ae4
commit 2518fca99d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -151,6 +151,7 @@ let tweet ctx msg =
else List.nth l 0
in
click ctx.session_id tweet_button;
Unix.sleep 2;
let tweet_area =
match find ctx.session_id (CSS "div[data-testid='tweetTextarea_0']") with
| [] -> raise (Any (fmt "Tweet area not found"))