troubleshooting Question

xpath for next set of records in navigation

Avatar of Fordraiders
FordraidersFlag for United States of America asked on
JavaScriptWeb DevelopmentXML
3 Comments1 Solution671 ViewsLast Modified:
xml: Using Webscraper called " Data Miner"

I'm trying to get syntax correct for xpath to automatically navigate to next page.

It is asking me for   "Next Page Element Xpath:"

trying to use this below but it is not working: keeps saying it cant find element

//a[@class='page_numbers']/following-sibling::a[1]


<div class="col-md-12 no-padding pagination-container">
	
		
			<div class="ref-pagination col-md-8 col-lg-9 no-padding pull-right">
				<ul class="pagination pull-right">
					<li class="first">
							
								<a href="javascript:void(0);" class="diabled-anchor"> <span>First</span>
								</a>
							
							
						</li>
					<li class="prev">
							
								<a href="javascript:void(0);" class="diabled-anchor"> <span><</span>
								</a>
							
							
						</li>

					
					
						<li class="page_numbers"><a
							href="NextRecordsReferenced.do?id=1"><strong>1</strong><span
								class="hidden">1</span></a></li>
						
					
						<li class="page_numbers"><a
							href="NextRecordsReferenced.do?id=2"><strong>2</strong><span
								class="hidden">2</span></a></li>
						
					
						<li class="page_numbers"><a
							href="NextRecordsReferenced.do?id=3"><strong>3</strong><span
								class="hidden">3</span></a></li>
						
					
						<li class="page_numbers"><a
							href="NextRecordsReferenced.do?id=4"><strong>4</strong><span
								class="hidden">4</span></a></li>
						
					
						<li class="page_numbers"><a
							href="NextRecordsReferenced.do?id=5"><strong>5</strong><span
								class="hidden">5</span></a></li>
						
					
					<li class="next">
							
								<a href="javascript:void(0);" class="diabled-anchor"> <span>></span>
								</a>
							
							
						</li>
					<li class="last">
							
								<a href="javascript:void(0);" class="diabled-anchor"> <span>Last</span>
								</a>
							
							
						</li>
				</ul>
			</div>
			<div class="col-md-4 col-lg-3 col-sm-12 no-padding pull-left">
				<span class="item_per_label">Items per Page:</span>
				<div class="dropdown display_item_grid pull-left">
					<button class="btn btn-default dropdown-toggle" type="button"
						id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
						16 <span class="caret"></span>
					</button>
					<ul class="dropdown-menu" role="menu"
						aria-labelledby="dropdownMenu1">
						<li role="presentation"><a role="menuitem" class="selected"
							tabindex="-1" href="javascript:void(0);">16</a></li>
						<li role="presentation"><a role="menuitem" tabindex="-1"
							href="javascript:void(0);">32</a></li>
						<li role="presentation"><a role="menuitem" tabindex="-1"
							href="javascript:void(0);">48</a></li>
					</ul>
				</div>
			</div>



Thanks
fordraiders
ASKER CERTIFIED SOLUTION
mccarl
IT Business Systems Analyst / Software Developer
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros