title: Is it possible to use python Webdriver to access an element from a mat-select dropdown?
body: <p>I am trying to build a python function that will select a specific item from a dropdown list in a mat-select:</p>
  <p>(<code>&lt;mat-select role=&quot;combobox&quot; aria-autocomplete=&quot;none&quot; aria-haspopup=&quot;true&quot; name=&quot;serviceId&quot; formcontrolname=&quot;serviceId&quot; class=&quot;mat-select ng-tns-c122-1 ng-tns-c88-0 mat-select-empty ng-pristine ng-invalid ng-star-inserted mat-select-invalid ng-touched&quot; aria-labelledby=&quot;mat-form-field-label-1 mat-select-value-1&quot; id=&quot;mat-select-0&quot; tabindex=&quot;0&quot; aria-expanded=&quot;false&quot; aria-required=&quot;false&quot; aria-disabled=&quot;false&quot; aria-invalid=&quot;true&quot;&gt;&lt;div cdk-overlay-origin=&quot;&quot; class=&quot;mat-select-trigger ng-tns-c122-1&quot;&gt;&lt;div class=&quot;mat-select-value ng-tns-c122-1&quot; id=&quot;mat-select-value-1&quot;&gt;&lt;span class=&quot;mat-select-placeholder mat-select-min-line ng-tns-c122-1 ng-star-inserted&quot;&gt;&lt;/span&gt;&lt;!----&gt;&lt;!----&gt;&lt;/div&gt;&lt;div class=&quot;mat-select-arrow-wrapper ng-tns-c122-1&quot;&gt;&lt;div class=&quot;mat-select-arrow ng-tns-c122-1&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;!----&gt;&lt;/mat-select&gt;</code>)</p>
  <p>I have tried using a normal select:</p>
  <p>(<code>select = Select(driver.find_element_by_xpath(xpath to mat-select)) select.select_by_visible_text(visibletext of desired element)</code>)
  But I can't seem to find anything online about how to do this, therefore just wondering if it is possible...</p>