Same xpath available on both type of project where it allow to bid me or where its not allow me to bid
Here is my code snippet that relates to this issue
Same xpath available on both type of project where it allow to bid me or where its not allow me to bid
I have one issue this the xpath “//*[@id="descriptionTextArea"]
” where I will submit my proposal but it showing on both type of project , although where freelance also not showing me any textbox to submit the proposal and it not display this box for many reason such as verified my account first or NDA sign etc but when i search this xpath in inspect element so it show me this xpath as well where i cant bid but i want to filterter if it display me the text box so my automation submit Enter on that area otherwise it do driver.back() , but this xpath is available in both type of project , so what I do now?
I am giving you the full xpath of both projects and telling which is actually showing me option to submit the proposal and which one is not showing the option to submit the proposal but xpath is available there too , i am giving you xpath of both type and complete Html element as you find the way , How i filter this
Here is the xpath and element which showing me the option to enter my proposal
” /html/body/app-root/app-logged-in-shell/div/fl-container/div/div/app-project-view/app-project-view-logged-in/app-project-view-details/fl-page-layout/main/fl-container/fl-page-layout-single/fl-grid/fl-col[1]/app-project-details-freelancer/app-bid-form/fl-card/div/div[2]/fl-bit[1]/fl-textarea/textarea
”
“<textarea _ngcontent-webapp-c175="" flcontrolvalueaccessor="" class="TextArea ng-tns-c175-175 ng-trigger ng-trigger-shakeAnimation ng-untouched ng-pristine ng-invalid" aria-errormessage="textarea-undefined-errorId-iq12" aria-invalid="false" data-auto-grow="true" data-font-color="dark" data-size="xsmall" data-weight="normal" id="descriptionTextArea" data-borderless="false" placeholder="What makes you the best candidate for this project?" data-resize="vertical" data-hide-scrollbar="false" rows="4" autocomplete="off" spellcheck="false" style="overflow: auto; height: 110px;"></textarea>
“