fixed mewe posting, gettr submit not working, added extra info to GUI
This commit is contained in:
@@ -414,9 +414,11 @@ Gui, Add, Edit, x%MarginSpace% y+2 w%EditBoxWidth% h150 vPostBody gUpdateCharCou
|
||||
Gui, Font, s%GUINormalFontSize%
|
||||
Gui, Font, Bold
|
||||
Gui, Add, Text, x%marginspace% y+%MarginSpace% w%EditBoxWidth% ,Tags
|
||||
|
||||
Gui, Font, s7
|
||||
Gui, Font, Normal
|
||||
Gui, Add, Text, x65 yp+7, (Required by Steemit, Bastyon, )
|
||||
|
||||
|
||||
; Gui, font, color, cRed
|
||||
Gui, Add, Edit,yp-5 x%CharCountXPos% w30 vCharCount,
|
||||
|
||||
@@ -3223,7 +3225,7 @@ sleep, 2000
|
||||
|
||||
; Click post button
|
||||
Xpath = //span[normalize-space()='Post']
|
||||
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=5,SleepLength:=1000)
|
||||
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=10,SleepLength:=1000)
|
||||
if(Status){
|
||||
Message = Failed to Submit Post
|
||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorSummaryVar")
|
||||
@@ -3276,9 +3278,9 @@ try driver.FindElementByXPath(Xpath).click()
|
||||
sleep, 1000
|
||||
|
||||
; Click on Tell your contacts what's happening button
|
||||
SaveOrPostProgress(Message:="Clicking into Tell your Contacts.. Box",PostType:="Tooltip,ErrorLoggingTextFile")
|
||||
SaveOrPostProgress(Message:="Clicking into Start Post Box",PostType:="Tooltip,ErrorLoggingTextFile")
|
||||
|
||||
Xpath = //div[@class='postbox-placeholder_text']
|
||||
Xpath = //div[@data-testid='post-placeholder']
|
||||
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=5,SleepLength:=1000)
|
||||
if(Status){
|
||||
SaveOrPostProgress(Message:="Post Failed: Check Login Status",PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
||||
|
||||
Reference in New Issue
Block a user