I can not find the correct selector to scrape hidden table in chromedriver

0

I'm scraping the web link .

In it, we have a list of nodes, each node being a row of the table, that is, a match. Within a node corresponding to any match, if you pass the mouse by the result you get a hidden table, and if you pass through the corners, which is the marker in the upper right corner, you get the detailed corners.

I do the following:

score=nodo.find_element_by_css('.red')

ActionChains(browser).move_to_element(score).perform()
TabScore=browser.find_element_by_id('winScore')
print(TabScore.get_attribute('outerHTML'))

And instead of obtaining the expanded table, I get it without deploying.

><div id="winScore" style="position:absolute; z-index:8;top:100px;left:100px;visibility:hidden;" onmouseover="MM_showHideLayers('winScore','','show')" onmouseout="hiddendetail()"></div>

I thought I had a problem with Actionchains, but I do the same process for the corners if I get the whole table, so, for whatever reason, the selector score does not display the corresponding hidden table . The fact is that if I do score.click() if it behaves as if I clicked on the element, as if I did on the web page.

Can someone tell me why this happens to me, or what is the correct selector?

    
asked by puppet 23.01.2018 в 15:27
source

0 answers