Chromeless: How to retrieve html by selector/xpath

Created on 27 Jul 2017  路  1Comment  路  Source: prisma-archive/chromeless

?

question

Most helpful comment

Thanks for asking that question, @Insolita .
I think you might do something like this:

const html = await chromeless.evaluate(() => document.querySelector('.my .selector').innerHTML)

>All comments

Thanks for asking that question, @Insolita .
I think you might do something like this:

const html = await chromeless.evaluate(() => document.querySelector('.my .selector').innerHTML)
Was this page helpful?
0 / 5 - 0 ratings

Related issues

schickling picture schickling  路  5Comments

stevenvachon picture stevenvachon  路  4Comments

kellylawrence picture kellylawrence  路  4Comments

adieuadieu picture adieuadieu  路  3Comments

eitansela picture eitansela  路  4Comments