Closed techyrajeev closed 5 years ago
Dynamic key in the output
Basically I am just trying to extract some information and want to set object keys based on the data present in website.
x(html, '.parent-group', { groups:'.temp-section', '.title':'.detail' } )
But in result I am getting
{ groups:"some value", '.title':"some value" }
Not the actual extracted value of .title
.title
Has this been fixed in new version?
This can be done by using a .map function on the result later.
Subject of the issue
Dynamic key in the output
Environment
Steps to reproduce
Basically I am just trying to extract some information and want to set object keys based on the data present in website.
But in result I am getting
Not the actual extracted value of
.title