From 33cd4aeac1519b62962a95b614e2e7cd95fd97c8 Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 20 Sep 2019 07:05:08 +0000 Subject: [PATCH] seems like some UI elemements have changed. Updated them. --- naukri.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/naukri.py b/naukri.py index 82aa36d..74a90dd 100644 --- a/naukri.py +++ b/naukri.py @@ -269,15 +269,11 @@ def UpdateProfile(driver): def UploadResume(driver): try: - uploadID = "uploadLink" attachCVID = "attachCV" saveXpath = "//button[@type='button']" - CheckPointID = "attachCVMsg" + CheckPointID = "attachCVMsgBox" driver.get('https://my.naukri.com/Profile/view') - uploadElem = GetElement(driver, uploadID, locator='ID') - uploadElem.click() - AttachElement = GetElement(driver, attachCVID, locator='ID') AttachElement.send_keys(ResumePath) time.sleep(5)