Class DeprecationIssueDetails
- java.lang.Object
-
- org.openqa.selenium.devtools.v102.audits.model.DeprecationIssueDetails
-
public class DeprecationIssueDetails extends java.lang.Object
This issue tracks information needed to print a deprecation message. The formatting is inherited from the old console.log version, see more at: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc TODO(crbug.com/1264960): Re-work format to add i18n support per: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
-
-
Constructor Summary
Constructors Constructor Description DeprecationIssueDetails(java.util.Optional<AffectedFrame> affectedFrame, SourceCodeLocation sourceCodeLocation, java.util.Optional<java.lang.String> message, java.util.Optional<java.lang.String> deprecationType, DeprecationIssueType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Optional<AffectedFrame>
getAffectedFrame()
java.util.Optional<java.lang.String>
getDeprecationType()
Deprecated.java.util.Optional<java.lang.String>
getMessage()
Deprecated.SourceCodeLocation
getSourceCodeLocation()
DeprecationIssueType
getType()
-
-
-
Constructor Detail
-
DeprecationIssueDetails
public DeprecationIssueDetails(java.util.Optional<AffectedFrame> affectedFrame, SourceCodeLocation sourceCodeLocation, java.util.Optional<java.lang.String> message, java.util.Optional<java.lang.String> deprecationType, DeprecationIssueType type)
-
-
Method Detail
-
getAffectedFrame
public java.util.Optional<AffectedFrame> getAffectedFrame()
-
getSourceCodeLocation
public SourceCodeLocation getSourceCodeLocation()
-
getMessage
@Deprecated public java.util.Optional<java.lang.String> getMessage()
Deprecated.The content of an untranslated deprecation issue, e.g. "window.inefficientLegacyStorageMethod will be removed in M97, around January 2022. Please use Web Storage or Indexed Database instead. This standard was abandoned in January, 1970. See https://www.chromestatus.com/feature/5684870116278272 for more details."
-
getDeprecationType
@Deprecated public java.util.Optional<java.lang.String> getDeprecationType()
Deprecated.The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.
-
getType
public DeprecationIssueType getType()
-
-