Skip to content

Commit

Permalink
Merge pull request #724 from skadefro/master
Browse files Browse the repository at this point in the history
fix nested css selector
  • Loading branch information
skadefro authored Nov 4, 2022
2 parents f84a7d5 + 95c3718 commit f4f1db3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions OpenRPA.NM/NMSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,11 @@ public static NMElement[] GetElementsWithuiSelector(NMSelector selector, IElemen
}
else if (!string.IsNullOrEmpty(cssselector) && !string.IsNullOrEmpty(fromNMElement.cssselector))
{
fromcssPath = "";
fromxPath = "";
cssselector = fromNMElement.cssselector + " > " + cssselector;
//fromcssPath = "";
//fromxPath = "";
//cssselector = fromNMElement.cssselector + " > " + cssselector;
fromcssPath = fromNMElement.cssselector;
fromxPath = fromNMElement.xpath;
}
}

Expand Down
2 changes: 1 addition & 1 deletion OpenRPA/OpenRPA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Description>Base UI of OpenRPA, used as part of OpenRPA robot</Description>
<PackageLicenseExpression>MPL-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/open-rpa/openrpa</PackageProjectUrl>
<Version>1.4.46</Version>
<Version>1.4.47</Version>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageIcon>openrpa.png</PackageIcon>
<Configurations>Debug;Release;ReleaseNuget;PrepInstaller</Configurations>
Expand Down

0 comments on commit f4f1db3

Please sign in to comment.