-
-
Notifications
You must be signed in to change notification settings - Fork 8k
/
WebDriver.csproj
116 lines (96 loc) · 5.12 KB
/
WebDriver.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>WebDriver</AssemblyName>
<RootNamespace>OpenQA.Selenium</RootNamespace>
<LangVersion>10.0</LangVersion>
</PropertyGroup>
<PropertyGroup>
<AssemblyTitle>WebDriver</AssemblyTitle>
<Company>Selenium Committers</Company>
<Copyright>Copyright © Software Freedom Conservancy 2018</Copyright>
<Product>Selenium</Product>
<Version>4.0.0</Version>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<FileVersion>4.0.0.0</FileVersion>
<PackageId>Selenium.WebDriver</PackageId>
<Authors>Selenium Committers</Authors>
<Title>Selenium WebDriver</Title>
<PackageProjectUrl>https://selenium.dev</PackageProjectUrl>
<RepositoryType>GitHub</RepositoryType>
<RepositoryUrl>https://github.com/SeleniumHQ/selenium</RepositoryUrl>
<Description>
Selenium is a set of different software tools each with a different approach
to supporting browser automation. These tools are highly flexible, allowing
many options for locating and manipulating elements within a browser, and one
of its key features is the support for automating multiple browser platforms.
This package contains the .NET bindings for the concise and object-based
Selenium WebDriver API, which uses native OS-level events to manipulate the
browser, bypassing the JavaScript sandbox, and does not require the Selenium
Server to automate the browser.
</Description>
<PackageTags>selenium webdriver browser automation</PackageTags>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIconUrl>https://selenium.dev/images/selenium_logo_square_green.png</PackageIconUrl>
<PackageIcon>logo.png</PackageIcon>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<InternalsVisibleTo Include="WebDriver.Common.Tests" />
</ItemGroup>
<ItemGroup>
<None Remove="Settings.StyleCop" />
<None Remove="WebDriver.ruleset" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<PropertyGroup>
<BaseImagePath>..\..\..\bazel-bin\dotnet\src\webdriver\images</BaseImagePath>
</PropertyGroup>
<ItemGroup>
<None Include="assets\Selenium.WebDriver.targets" Pack="true" PackagePath="build\" />
<None Include="assets\Selenium.WebDriver.targets" Pack="true" PackagePath="buildTransitive\" />
<None Include="$(BaseImagePath)\selenium_logo_small.png" Pack="true" PackagePath="logo.png" Visible="false" />
<None Include="$(BaseSeleniumManagerPath)\linux\selenium-manager" Pack="true" PackagePath="manager\linux" Visible="false" />
<None Include="$(BaseSeleniumManagerPath)\macos\selenium-manager" Pack="true" PackagePath="manager\macos" Visible="false" />
<None Include="$(BaseSeleniumManagerPath)\windows\selenium-manager.exe" Pack="true" PackagePath="manager\windows" Visible="false" />
</ItemGroup>
<Target Name="GenerateSeleniumManagerBinaries" BeforeTargets="PrepareForBuild">
<Exec Command="bazel build //dotnet/src/webdriver:manager-linux //dotnet/src/webdriver:manager-windows //dotnet/src/webdriver:manager-macos" />
<PropertyGroup>
<BaseSeleniumManagerPath>..\..\..\bazel-bin\dotnet\src\webdriver\manager</BaseSeleniumManagerPath>
</PropertyGroup>
</Target>
<Target Name="GenerateAtoms" BeforeTargets="PrepareForBuild">
<Exec Command="bazel build //javascript/webdriver/atoms:get-attribute.js //javascript/atoms/fragments:is-displayed.js //javascript/atoms/fragments:find-elements.js" />
<ItemGroup>
<EmbeddedResource Include="$(ProjectDir)..\..\..\third_party\js\selenium\webdriver.json">
<Visible>False</Visible>
<LogicalName>webdriver_prefs.json</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="$(ProjectDir)..\..\..\bazel-bin\javascript\webdriver\atoms\get-attribute.js">
<Visible>False</Visible>
<LogicalName>get-attribute.js</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="$(ProjectDir)..\..\..\bazel-bin\javascript\atoms\fragments\is-displayed.js">
<Visible>False</Visible>
<LogicalName>is-displayed.js</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="$(ProjectDir)..\..\..\bazel-bin\javascript\atoms\fragments\find-elements.js">
<Visible>False</Visible>
<LogicalName>find-elements.js</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="$(ProjectDir)..\..\..\javascript\cdp-support\mutation-listener.js">
<Visible>False</Visible>
<LogicalName>mutation-listener.js</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Target>
<Target Name="GenerateCdp" BeforeTargets="CoreCompile">
<Exec Command="bazel build //dotnet/src/webdriver/cdp:generate-v85 //dotnet/src/webdriver/cdp:generate-v121 //dotnet/src/webdriver/cdp:generate-v122 //dotnet/src/webdriver/cdp:generate-v120" />
<ItemGroup>
<Compile Include="..\..\..\bazel-bin\dotnet\src\webdriver\cdp\**\*.cs" LinkBase="DevTools\generated" />
</ItemGroup>
</Target>
</Project>