how to find combined xpath for given text as < PMP & 8999 POINTS >?
I want to find the combined xpath for the text <PMP & 8999 points>
as follows:
<PMP & 8999 points>
PMP
(Duration: 29 hrs | Difficulty: Intermediate | Language: english | Mode Of Training: online) 8999 Points
</div>
</div>
1 Answer
1
You can try with following x-path,
//div[@class='lng-info']/*[name()='h5' or name()='div']
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Popular posts from this blog
paramiko-expect timeout is happening after executing the command Can someone help me why timeout is happening after executing the command .I am trying to SSH to a machine and execute a command.I want to store the result of the executed command . I have referred paramiko-timeout but i didn't get my expected result. import traceback try: import paramiko except ImportError: raise Exception("Please install paramiko , pip install paramiko") import pexpect from paramiko_expect import SSHClientInteraction def main(): HOSTNAME = "minion5.net" USERNAME = "root" PASSWORD = "help@432" PROMPT = "root@*:~$s+" try: client = paramiko.SSHClient() client.load_system_host_keys() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(hostname=HOSTNAME, username=USERNAME, password=PASSWORD) with SSHClientInteraction(client, timeout=20, display=True) as interact: ...
Opening a url is failing in Swift breakpointing inside the callback and logging success shows false. I added itms-apps to my plist: LSApplicationQueriesSchemes and put this in my app delegate: func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool { return true } func moreTapped() { let url = NSURL(string: "itms-apps://itunes.com/developer/quantum-productions/id979315877") if #available(iOS 10.0, *) { UIApplication.shared.open(url! as URL, options: [:], completionHandler: {(success: Bool) in }) } else { UIApplication.shared.openURL(url! as URL) } } Are you testing on a real device? – rmaddy Jun 21 at 23:57 I try on a device, get "Cannot Connect to App Store". Device is online ...
Visual Studio 2017 errors on standard headers I just upgraded to Visual Studio 2017 Community Edition and I have trouble loading standard header files. I get 507 errors from various header files. Here are some snippets: Some of the errors: Severity Code Description Project File Line Suppression State Error (active) E1696 cannot open source file "errno.h" RPGWorld c:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.10.25017includecerrno 7 Error (active) E1696 cannot open source file "float.h" RPGWorld c:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.10.25017includecfloat 7 Error (active) E0282 the global scope has no "acosf" RPGWorld c:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.10.25017includecmath 629 Error (active) E0282 the global scope has no "asinf" RPGWorld c:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.1...
no,its pointing only to text= PMP
– hack
Jun 29 at 8:44