GPAL - Generally Positive Automation Library
v1.0
GPAL The Fluent Automation LIbrary
Toggle main menu visibility
Loading...
Searching...
No Matches
IWebElementExtension.cs
1
// =============================================================================
2
// GPAL - Generally Positive Automation Library
3
// Copyright © 2026 Software Decisions, Inc. All rights reserved.
4
//
5
// This file is part of GPAL.
6
// Licensed under the Business Source License 1.1
7
//
8
// Primary development, architecture, and vision by Michael B. Vederman,
9
// CEO of Software Decisions, Inc., Texas.
10
//
11
// Internal development maintained privately.
12
// Public releases appear on GitHub: https://github.com/SoftwareDecisionsInc/GPAL.
13
//
14
// See LICENSE for full terms, including Additional Use Grant.
15
// =============================================================================
16
17
using
OpenQA.Selenium;
18
using
System;
19
using
System.Collections.Concurrent;
20
using
System.Collections.Generic;
21
using
System.Linq;
22
using
System.Text;
23
using
System.Threading.Tasks;
24
25
// NOTE: not sure why this file was created and what it's used for. could be some iwebelement converter?
26
namespace
GenerallyPositive.Browser
27
{
28
[Obsolete]
29
public
static
class
GPALElementExtension
30
{
31
private
static
readonly ConcurrentDictionary<GPALElement, int> nodeIdStorage =
new
ConcurrentDictionary<GPALElement, int>();
32
33
public
static
int
NodeID(
this
GPALElement element)
34
{
35
return
nodeIdStorage.TryGetValue(element, out
int
nodeId) ? nodeId : 0;
36
}
37
38
public
static
void
NodeID(
this
GPALElement element,
int
value)
39
{
40
nodeIdStorage[element] = value;
41
}
42
}
43
}
44
GenerallyPositive.Browser
Definition
Browser.cs:44
Browser
IWebElementExtension.cs
Generated by
1.17.0