Skip to content

Locating drop down menu without unique identifier inside a div with an id #29

@ialtero

Description

@ialtero

Need to see if there is a way to locate drop down menu choices within a div in able to select drop down choices, which do not have unique identifiers. In this case, div has an id which I can use to locate it, but the view box vega embed graph drop down menu does not have a unique identifier. See below:


<div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-4" id="pa_graph_1">
<div class="vega-embed has-actions"><div class="chart-wrapper" role="graphics-document" aria-roledescription="visualization" aria-label="Vega visualization" style="cursor: default;"><canvas width="262" height="269" class="marks" style="width: 252px; height: 259px;"></canvas><form class="vega-bindings"></form></div><details title="Click to view actions">
<summary>
<svg viewBox="0 0 16 16" fill="currentColor" stroke="none" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
  <circle r="2" cy="8" cx="2"></circle>
  <circle r="2" cy="8" cx="8"></circle>
  <circle r="2" cy="8" cx="14"></circle>
</svg></summary>
<div class="vega-actions">
<a href="#" target="_blank" download="visualization.svg">Save as SVG</a>
<a href="#" target="_blank" download="visualization.png">Save as PNG</a>
<a href="#">View Source</a>
<a href="#">View Compiled Vega</a>
<a href="#">Open in Vega Editor</a>
</div></details></div></div>

<div class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-4" id="pa_graph_2">
<div class="vega-embed has-actions"><div class="chart-wrapper" role="graphics-document" aria-roledescription="visualization" aria-label="Vega visualization" style="cursor: default;"><canvas width="265" height="290" class="marks" style="width: 255px; height: 279px;"></canvas><form class="vega-bindings"></form></div><details title="Click to view actions">
<summary>
<svg viewBox="0 0 16 16" fill="currentColor" stroke="none" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
  <circle r="2" cy="8" cx="2"></circle>
  <circle r="2" cy="8" cx="8"></circle>
  <circle r="2" cy="8" cx="14"></circle>
</svg></summary>
<div class="vega-actions">
<a href="#" target="_blank" download="visualization.svg">Save as SVG</a>
<a href="#" target="_blank" download="visualization.png">Save as PNG</a>
<a href="#">View Source</a>
<a href="#">View Compiled Vega</a>
<a href="#">Open in Vega Editor</a>
</div></details></div></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions