i cannot find way click on button on google drive click "file upload" in inspect element cannot find class changing every time, trued record kind of style still not working.
would great if 1 can check , figure out how can clicked. thank in advance.
url goto=https://drive.google.com/drive/my-drive event type=mousedown selector="#drive_main_page>div:nth-of-type(4)>div>div:nth-of-type(2)>div>div>div>div>div>div>div" button=0 tag pos=2 type=div attr=class:*-v&&role:menuitem&&id::4b tag pos=1 type=input:file attr=* content=c:\users\viktor\documents\imacros\downloads\folder\1.png
the following solution seems work somehow:
' text english default language ' set txtupload "upload files..." url goto=https://drive.google.com/drive/my-drive event type=click selector="#drive_main_page>div:nth-of-type(4)>div>div>div>div>div>div:nth-of-type(2)>div>div>div>div:nth-of-type(2)>div>div>div>div>div:nth-of-type(2)>svg>polygon" button=0 wait seconds=0.5 set !extract_test_popup no tag pos=1 type=div attr=txt:{{txtupload}} extract=htm set id eval("'{{!extract}}'.match(/id=\"(.+?)\"/)[1];") event type=click selector="#\\{{id}}>div>span:nth-of-type(2)>span>div" button=0 tag pos=1 type=input:file attr=* content=c:\users\viktor\documents\imacros\downloads\folder\1.png
Comments
Post a Comment