Fixed LinkedIn not being able to click into start post box because chat box is overlaying it

main
Yuriy 2 years ago
parent 24210c3a5c
commit 02542ebcfe

@ -120,6 +120,7 @@ IniRead, DiscordErrorLoggingWebhookBotURL, %SettingsIniFilepath%, SocialMediaPos
IniRead, DiscordParlerWebhookURL, %SettingsIniFilepath%, SocialMediaPoster, DiscordParlerWebhookURL, %A_Space% IniRead, DiscordParlerWebhookURL, %SettingsIniFilepath%, SocialMediaPoster, DiscordParlerWebhookURL, %A_Space%
;---Checkbox Settings--- ;---Checkbox Settings---
;------------------------------------------------ ;------------------------------------------------
IniRead, BoldTitleWAPI, %SettingsIniFilepath%, SocialMediaPoster, BoldTitleWAPI, 1 IniRead, BoldTitleWAPI, %SettingsIniFilepath%, SocialMediaPoster, BoldTitleWAPI, 1
@ -1100,7 +1101,7 @@ OpenScreenshotsFolder:
run, %ErrorLoggingDirectory% run, %ErrorLoggingDirectory%
Return Return
/*
PostScreenshotsToUploadStatus: PostScreenshotsToUploadStatus:
SaveOrPostProgress(Message:="Uploading screenshots of Errors:",PostType:=",ErrorLoggingTextFile,DiscordParler") SaveOrPostProgress(Message:="Uploading screenshots of Errors:",PostType:=",ErrorLoggingTextFile,DiscordParler")
@ -1114,6 +1115,7 @@ Loop, %NumOfScreenshots% {
Tooltip Tooltip
Return Return
*/
;---------------Facebook---------------------------------- ;---------------Facebook----------------------------------
PostToFacebook: PostToFacebook:
@ -1981,7 +1983,7 @@ if(InStr(CurrentTabURL, "/login")){
loop, 3 { loop, 3 {
Xpath = //button[normalize-space()='Start a post'] ; start a post button Xpath = (//span[normalize-space()='Start a post'])[1] ; start a post button
Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000) Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000)
if(!Status) if(!Status)
Break Break

Loading…
Cancel
Save