Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get value from dom? #39

Open
Adam-78 opened this issue Jan 1, 2017 · 0 comments
Open

How to get value from dom? #39

Adam-78 opened this issue Jan 1, 2017 · 0 comments

Comments

@Adam-78
Copy link

Adam-78 commented Jan 1, 2017

I have the following table - only 2 rows shown for brevity. How do I traverse the table to extract the price class value for Catalog ID 100245 i.e. H1?

 <tbody>
      <tr class="catalog_line">
         <td class="properties">
            <div class="grid-prop">
               <span class="label nom">Catalog ID</span>
               <span class="catdata1 cdatamarker">100245</span>
            </div>
            <div class="grid-prop nom">
                <span class="label">Product, price class</span>
                <span class="catdata1">
                  <span class="category">Cars</span>
                  , H1
                </span>
            </div>
        </td>
      </tr>
      <tr class="catalog_line">
         <td class="properties">
            <div class="grid-prop">
               <span class="label nom">Catalog ID</span>
               <span class="catdata1 cdatamarker">100246</span>
            </div>
            <div class="grid-prop nom">
                <span class="label">Product, price class</span>
                <span class="catdata1">
                  <span class="category">Cars</span>
                  , H1
                </span>
            </div>
        </td>
      </tr>
  <tbody>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant