asadiqbal08/SOL-1046: Convert LinkedIn anchor tag to button

* remove the onclick event
* add mako check to Javascript handler
This commit is contained in:
asadiqbal
2015-07-14 13:14:00 +05:00
committed by Matt Drayer
parent 66e1b11a58
commit 56015fecf3
2 changed files with 6 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ class CertificatePage(PageObject):
"""
returns add to LinkedIn profile button
"""
return self.q(css='a.action-linkedin-profile')
return self.q(css='button.action-linkedin-profile')
@property
def add_to_facebook_profile_button(self):