A
A
adun32015-12-17 12:44:53
XPath
adun3, 2015-12-17 12:44:53

How to use x-path to pull data from div with display:none?

<div class = 'lialia' style = 'display:none'>
<div>еще куча вложенных данных</div>
</div>

how to pull data inside a div with display:none ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
krypt3r, 2015-12-17
@krypt3r

Something like
div[@style="display:none"]/*

I
Ilya, 2015-12-17
@glebovgin

To not depend on the presence or absence of spaces, you can use the following code:
In your example, this expression worked perfectly for me.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question