I'm trying to select only elements that have all of the specified classnames...
$results = Find-PupElements -Page $page -Selector ".w-full .text-left .rounded-lg .transition-all .duration-200 .border .group p-4 .text-gray-700 .hover:bg-gray-100 .border-gray-200 .hover:border-primary"
$results | ForEach-Object { $_.InnerHTML }
...yet I get this error...
Failed to execute 'querySelectorAll' on 'Document': '.w-full .text-left .rounded-lg .transition-all .duration-200 .border .group p-4 .text-gray-700 .hover:bg-gray-100 .border-gray-200 .hover:border-primary' is not a valid selector.
Is there a way to select multiple classnames?
I'm trying to select only elements that have all of the specified classnames...
$results = Find-PupElements -Page $page -Selector ".w-full .text-left .rounded-lg .transition-all .duration-200 .border .group p-4 .text-gray-700 .hover:bg-gray-100 .border-gray-200 .hover:border-primary"$results | ForEach-Object { $_.InnerHTML }...yet I get this error...
Failed to execute 'querySelectorAll' on 'Document': '.w-full .text-left .rounded-lg .transition-all .duration-200 .border .group p-4 .text-gray-700 .hover:bg-gray-100 .border-gray-200 .hover:border-primary' is not a valid selector.Is there a way to select multiple classnames?