-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes/rpa fix chromedriverdownload (#5690)
* Elsa.Activities.Rpa.Web Adding missing implementation of By.CssSelector on GetElements * Fixing missing ]) on Message input at SendMessageMQTT * Updating ChromeDriverInstaller.cs to support the new Google API chromeForTesting https://developer.chrome.com/docs/chromedriver/downloads/version-selection * Curly braces where inline on namespace Changed curly braces in namespace from inline to a new line --------- Co-authored-by: Hugo Vilaça <[email protected]>
- Loading branch information
1 parent
2c431f5
commit 6a7b4db
Showing
8 changed files
with
177 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/activities/Elsa.Activities.Rpa.Web/DriverTypes/Chrome/Chrome.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Elsa.Activities.Rpa.Web.DriverTypes.Chrome | ||
{ | ||
public class Chrome | ||
{ | ||
[JsonProperty("platform")] | ||
public string Platform { get; set; } | ||
|
||
[JsonProperty("url")] | ||
public string Url { get; set; } | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/activities/Elsa.Activities.Rpa.Web/DriverTypes/Chrome/ChromeForTesting.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using System; | ||
|
||
namespace Elsa.Activities.Rpa.Web.DriverTypes.Chrome | ||
{ | ||
public class ChromeForTesting | ||
{ | ||
[JsonProperty("timestamp")] | ||
public DateTime Timestamp { get; set; } | ||
|
||
[JsonProperty("versions")] | ||
public List<ChromeVersion> Versions { get; set; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/activities/Elsa.Activities.Rpa.Web/DriverTypes/Chrome/ChromeVersion.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Elsa.Activities.Rpa.Web.DriverTypes.Chrome | ||
{ | ||
public class ChromeVersion | ||
{ | ||
[JsonProperty("version")] | ||
public string VersionNumber { get; set; } | ||
|
||
[JsonProperty("revision")] | ||
public string Revision { get; set; } | ||
|
||
[JsonProperty("downloads")] | ||
public Downloads Downloads { get; set; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/activities/Elsa.Activities.Rpa.Web/DriverTypes/Chrome/Chromedriver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Elsa.Activities.Rpa.Web.DriverTypes.Chrome | ||
{ | ||
public class Chromedriver | ||
{ | ||
[JsonProperty("platform")] public string Platform { get; set; } | ||
|
||
[JsonProperty("url")] public string Url { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/activities/Elsa.Activities.Rpa.Web/DriverTypes/Chrome/Downloads.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
namespace Elsa.Activities.Rpa.Web.DriverTypes.Chrome | ||
{ | ||
public class Downloads | ||
{ | ||
[JsonProperty("chrome")] | ||
public List<Chrome> Chrome { get; set; } | ||
|
||
[JsonProperty("chromedriver")] | ||
public List<Chromedriver> Chromedriver { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters